-
Notifications
You must be signed in to change notification settings - Fork 81
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
Auto-reload #12
Comments
Hi @hmaesta |
@hmaesta @amphrony you dont need a separate terminal window. We can add the "browser-sync" command at the within the "npm start". Run " npm install browser-sync --save-dev" then in your package.json file we will just update the script commands - add live reaload script, then add that at the end of "start" script "scripts": { |
Thanks for the tip @walidmahade! Just one small tweak--you'll need to escape the double-quotes for this to work. For example, here's my
Once you've added the |
Would it be possible to include live-reload script by default in the project ? |
With
npm start
my files are re-built automatically when there are changes – but how can I set an auto-reaload feature in my browser?Should I install babel-watch or something similar? If yes, how should the
script start
be?The text was updated successfully, but these errors were encountered: