electron-dev
**note this is not for reloading your BrowserWindow -- tools exist for that already, this is for code related to the main process**
Last updated 3 years ago by keyvanfatehi .
ISC · Original npm · Tarball · package.json
$ cnpm install electron-dev 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.1                                ...           latest (3 years ago)

2 Versions

  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 8
Dependencies (8)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |