📜  npm install electron-reload - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:11.948000             🧑  作者: Mango

代码示例1
const path = require('path')

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