📅  最后修改于: 2022-03-11 15:02:51.798000             🧑  作者: Mango
/*
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'
});