Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

electron js development auto refresh

npm i -D electron-reload

main.js: 

const electron = require('electron')
require('electron-reload')(__dirname);

...rest of the code
Source by ourcodeworld.com #
 
PREVIOUS NEXT
Tagged: #electron #js #development #auto #refresh
ADD COMMENT
Topic
Name
9+8 =