Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electronmon

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electronmon

watch and reload your electron app the easy way

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8.2K
decreased by-37.99%
Maintainers
1
Weekly downloads
 
Created
Source

electronmon

Watch and reload your electron app the easy way!

npm-downloads npm-version dm-david

Disclaimer: I made this module yesterday. I use it every day for multiple projects. But if you have any feedback, don't hesitate to tell me about it.

This is the simplest way to watch and restart/reload electron applications. It requires no quessing, no configuration, and no changing your application or conditionally requiring dependencies. And best of all, it keeps everything in-process, and will not exit on the first application relaunch.

It was inspired by nodemon and largely works the same way (by magic).

To use it, you don't have to change your application at all. Just use electronmon to launch it, using all the same arguments you would pass to the electron cli:

npx electronmon .

That's it. Now, all your files are watched. Changes to files in the main process files will cause the application to restart entirely, while changes to any of the renderer process files will simply reload the application browser windows.

All you have to do now is write your application code.

Keywords

FAQs

Package last updated on 27 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc