main.js
Function elecronReload
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function elecronReload (glob, options = {}) {
const browserWindows = []
const watcher = chokidar.watch(glob, Object.assign({ ignored: [ignoredPaths, mainFile] }, options))
// Callback function to be executed: