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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    8
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    8
  • 1.0.0
    0

Package Sidebar

Install

npm i electron-dev

Weekly Downloads

8

Version

1.0.1

License

ISC

Last publish

Collaborators

  • keyvanfatehi