scout-app
scout-app copied to clipboard
Auto Refresh of browser on change
Would like to have the option to enable auto refresh of the browser anytime I save.
@BuiltInOneDay, when you say auto-refresh, what do you mean? I want to make sure I am understanding your request accurately. Thanks,
Sorry, I meant browser refresh when you save. Like what CodeKit and Fire App offer. Just basic instead of having to hit refresh or ctrl + r it would refresh on its owe. Also this is a feature-request but did not see how to assign that?
LiveReload (https://github.com/dz0ny/LiveReload-sublimetext2/) + Sublime Text 2 + Chrome Browser with LiveReload Extension can do this. Try! It works for me :)
Sweet! Thanks mcometa. this is what I was looking for and it work for sublime text 2.
I would also like to see this feature built into Scout, if it is possible. I currently have the setup mentioned earlier (Sublime Text 2 + LiveReload Package + Chrome Browser Extension) and it does not update the browser automatically when I hit save on any .scss-file. If I hit save on the .css-file generated, it works just fine.
@Adevade You wouldn't want to refresh the browser on the scss file save, you would want to refresh after the css files get built so any changes will be reflected on the browser.
May consider implementing something like this into Scout-App 2. Leaving this issue open for now.
Created a live-reload
branch to develop this feature. Not the highest priority, but it has moved up the list to be more important.
Just a heads up, but ever since I've discovered chrome's built-in refresher, I've not come back to live-reloading. More here: https://youtu.be/x6qe_kVaBpg?t=6m8s (works in any editor so long as dev-tools is open) - now this won't cover other browsers like firefox where live-reload does have plugins. But I think important to note.
@TheJaredWilcurt
Noting this for myself to look into later.
- https://www.npmjs.com/package/live-server