scout-app icon indicating copy to clipboard operation
scout-app copied to clipboard

Auto Refresh of browser on change

Open BuiltInOneDay opened this issue 12 years ago • 10 comments

Would like to have the option to enable auto refresh of the browser anytime I save.

BuiltInOneDay avatar May 24 '12 02:05 BuiltInOneDay

@BuiltInOneDay, when you say auto-refresh, what do you mean? I want to make sure I am understanding your request accurately. Thanks,

zdennis avatar May 24 '12 16:05 zdennis

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?

BuiltInOneDay avatar May 24 '12 16:05 BuiltInOneDay

LiveReload (https://github.com/dz0ny/LiveReload-sublimetext2/) + Sublime Text 2 + Chrome Browser with LiveReload Extension can do this. Try! It works for me :)

mcometa avatar Jul 26 '12 10:07 mcometa

Sweet! Thanks mcometa. this is what I was looking for and it work for sublime text 2.

BuiltInOneDay avatar Jul 26 '12 14:07 BuiltInOneDay

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 avatar Sep 06 '12 16:09 adevade

@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.

koriolis avatar Apr 30 '13 09:04 koriolis

May consider implementing something like this into Scout-App 2. Leaving this issue open for now.

TheJaredWilcurt avatar Aug 30 '16 03:08 TheJaredWilcurt

Created a live-reload branch to develop this feature. Not the highest priority, but it has moved up the list to be more important.

TheJaredWilcurt avatar Oct 24 '16 12:10 TheJaredWilcurt

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.

Blindmikey avatar Nov 03 '16 23:11 Blindmikey

@TheJaredWilcurt

Noting this for myself to look into later.

  • https://www.npmjs.com/package/live-server

TheJaredWilcurt avatar Feb 01 '17 15:02 TheJaredWilcurt