yan-foto/electron-reload

View on GitHub

Showing 1 of 1 total issue

Function elecronReload has 28 lines of code (exceeds 25 allowed). Consider refactoring.
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:
Severity: Minor
Found in main.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language