LiveReload: Reflect CSS Changes Instantly, with No Browser Reload
1–10 of 30 posts
Re: LiveReload: Reflect CSS Changes Instantly, with No Browser Reload
#2Re: LiveReload: Reflect CSS Changes Instantly, with No Browser Reload
#3Are there droves of people who could benefit from constantly changing css?
Perhaps I'm just missing something rather obvious. If so, please help me.
Re: LiveReload: Reflect CSS Changes Instantly, with No Browser Reload
#4https://github.com/mockko/livereload
After all the time that's been put into the free version by others I wish livereload.com would have a prominent link to it. But I'm glad that the gem, which I don't use because https://github.com/guard/guard-livereload is easier to install, and the browser extensions are available under the MIT license.
Re: LiveReload: Reflect CSS Changes Instantly, with No Browser Reload
#5Look cool, let me know when there's a PC version.
https://github.com/guard/guard-livereload
https://github.com/guard/guard (has windows instructions)
Re: LiveReload: Reflect CSS Changes Instantly, with No Browser Reload
#6The technology that drives this is undoubtedly very interesting, but what does this truly offer? What would be the practical application of this? Are there droves of people who could benefit from constantly changing css? Perhaps I'm just missing something rather obvious. If so, please help me.
I can also be quite useful during development. One cool trick to achieve something similar is to add a contentEditable attribute to a style tag: http://css-tricks.com/8618-show-and-edit-style-element/
Re: LiveReload: Reflect CSS Changes Instantly, with No Browser Reload
#7Alternatively:
sudo pip install watchdog
watchmedo shell-command -w -c "make" -i '*/.*' -R
Where "make" is either for a makefile or some other build script.And then just put live.js (from http://livejs.com/) as a script inside your pages.
This works anywhere with basically any stack (i.e. if you had some strange alien CSS preprocessor as long as it can be processed with a command you can use this), integrates into your normal build system and requires no browser plugins or proprietary binaries.
Re: LiveReload: Reflect CSS Changes Instantly, with No Browser Reload
#8Sigh, these sorts of things always force you to change how you develop and don't really work for mobile web dev. This wheel seems to been re-invented far too often. Alternatively: sudo pip install watchdog watchmedo shell-command -w -c "make" -i '*/.*' -R Where "make" is either for a makefile or some other build script. And then just put live.js (from http://livejs.com/ ) as a script inside your pages. This works any…
Live.js uses polling. It sends XHR HEAD request every second.
LiveReload monitors file changes using FSEvents (on Mac OS X) and inotify (on Linux). When the file modified, it pushes its path to the browser and reloads immediately.
Re: LiveReload: Reflect CSS Changes Instantly, with No Browser Reload
#9Has page reload and doesn't require any project specific settings.
It is open source and works (web app using an iframe + path to watch) without altering development habits.
Re: LiveReload: Reflect CSS Changes Instantly, with No Browser Reload
#10Sigh, these sorts of things always force you to change how you develop and don't really work for mobile web dev. This wheel seems to been re-invented far too often. Alternatively: sudo pip install watchdog watchmedo shell-command -w -c "make" -i '*/.*' -R Where "make" is either for a makefile or some other build script. And then just put live.js (from http://livejs.com/ ) as a script inside your pages. This works any…
LiveReload should works on every browser that supports WebSockets. It should work on modern WebKit-based mobile browsers. Live.js uses polling. It sends XHR HEAD request every second. LiveReload monitors file changes using FSEvents (on Mac OS X) and inotify (on Linux). When the file modified, it pushes its path to the browser and reloads immediately.
The horror!