note this is not for reloading your BrowserWindow -- tools exist for that already, this is for code related to the main process
it's like node-dev except for electron apps
like node-dev, electron-dev wraps your program, however where node-dev actually hooks into
we then use chokidar to watch for changes to to these files, restarting electron if any happen to change.
electron-dev --dir . --script . (defaults)
if you are happy with those defaults you can just run
electron-dev from your project root