Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

npm install electron-reload

const path = require('path')

require('electron-reload')(__dirname, {
  electron: path.join(__dirname, 'node_modules', '.bin', 'electron'),
  hardResetMethod: 'exit'
});
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #npm #install
ADD COMMENT
Topic
Name
2+7 =