Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
Need to restart Monaca server every I make a change
gciluffo last edited by gciluffo
Hello all. For some reason I need to restart Monaca with monaca preview whenever I make change in my code to see the changes reflected in the browser. It was not always like this. When I first start the project last week, the server recompiled every time I made a change in the code. Any ideas on how to make so it recompiles every time a make change in the code? I am using Webstorm as my IDE. Thanks.
maybe @Fran-Diox knows something about this
@gciluffo Which version of CLI are you using and what kind of template? We have changed that part of the code for version
2.1.2, although the behavior should be the same.
I have tested it again but I still see the same behavior as before. For vanilla JS templates you will need to refresh your browser (
CTRL+R) whenever you modify anything, that hasn’t changed. Even new added files to
wwwwill be served after refreshing the browser.
Could you please tell me an example where you need to restart