electron-dev

1.0.1 • Public • Published

electron-dev

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 require(), electron-dev uses babel-plugin-detective to acquire a list of all the javascript files your app uses.

we then use chokidar to watch for changes to to these files, restarting electron if any happen to change.

usage

electron-dev --dir . --script . (defaults)

if you are happy with those defaults you can just run electron-dev from your project root

Readme

Keywords

none

Package Sidebar

Install

npm i electron-dev

Weekly Downloads

14

Version

1.0.1

License

ISC

Last publish

Collaborators

  • keyvanfatehi