Skip to content

electron-connect v0.5.0

Choose a tag to compare

@ssreekanth ssreekanth released this 16 Sep 02:15
· 15 commits to master since this release

Change log

  • Handle stopOnClose option. closes #32.

New in v0.5.0

When stopOnClose option is enabled in server's create(), ProcessManager's start(), restart() and stop() methods will invoke callback with an argument that indicates the state of the electron process, which could be one of the following string values -

  • started
  • restarting
  • restarted
  • stopped

See example/stop-on-close, where you can find sample code that uses stopOnClose option and stopped state to shutdown gulp process gracefully.