You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2018. It is now read-only.
If you want to compile your sources using babel:watch command and then reload your application whenever your changes are compiled, use the nodemon:
Install nodemon globally: npm install -g nodemon
Run your compiled scripts using nodemon: nodemon . /dist/main.js
If you just want to reload your code on every change, you can skip the compiling and use the babel-watch to monitor your source code and "compile in-memory":
Install it as a dev dependancy: yarn add --dev babel-watch (or npm install -D babel-watch)
Thanks for pointing out to the right direction, babel-watch looks like a fantastic solution to the problem, which provides watch, transpilation and reload in one go!
Since babel:watch will continually output scripts whenever the source changed, just wondering how do you make node to pick up those changes?
The text was updated successfully, but these errors were encountered: