-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add a JavaScript API so that the module can be used from other script #42
Comments
I must have missed this one, sorry for the delay. Officially, this module does not have an API, and this is intentional. Can you tell me more about your use case for forcing a reload? Do you mean to do this when gulp detects a file change? I am not sure what the benefit of this is, seeing as gulp should write new source files to disk and electronmon will then detect those changes. Are you meaning to reload the application when non-code files are changed, or when supplementary files used at runtime are changes in a different directory? |
@catdad happy new year to you, friend! I generally gave a hint that it would not hurt to make a NodeJS api, this will allow people to write all kinds of plugins on gulp and webpack using your library) at least there must be three basic things in node api
event must contains info about file, rerload initiator e.t.c. =) |
There is now an API available. If you do find a use for it and find things missing, feel free to file an issue for them. Published in 1.0.0 |
How i can run and force reload electronmon from gulp task?
Electronmon have JS API?
like:
The text was updated successfully, but these errors were encountered: