📌  相关文章
📜  电子热模型重新加载 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:02:51.798000             🧑  作者: Mango

代码示例3
/*
To use this code, you need to install the npm package 'electron-reload'
executing this command:
npm install electron-reload
*/

const path = require('path')

require('electron-reload')(__dirname, {
  electron: path.join(__dirname, 'node_modules', '.bin', 'electron'),
  hardResetMethod: 'exit'
});