Reload window every 5 seconds


#1

How can in reload a window , every 5 seconds in electron.?


#2

Use contents.reload() or win.reload() (same method, which lives on both webContents and BrowserWindow) on a timer.