livereload / LiveReload

LiveReload.app for Mac and Windows. See “develop” branch for the latest Windows release and LiveReload 3 progress. (NOTE: renamed from LiveReload2.)
http://livereload.com/
Other
1.43k stars 166 forks source link

0.8.5.1 autorefresh issues #18

Open ghost opened 11 years ago

ghost commented 11 years ago

As far as I could see there are some issues with 8.5.1: 1) it does not refresh when .css files are modified. This should trigger auto-refresh. 2) it does not refresh when .scss files are modified (which is right) but it counts the scss modifications as changes and refreshes (info in the lower part of app). I don't know what the policy is, if it should count it as modification, but for shure it should not count it as a refresh since no refresh is done. 3) .haml files trigger auto-refresh which is not right.

andreyvit commented 11 years ago

Got you, will check items 1 and 3.

I can comment on item 2: when .scss is modified (which always counts as a change), a fake change is sent out with extension replaced by .css, and thus a refresh is also counted. This is by design; it handles the case when your web stack compiles .scss into .css on demand (like Rails 3), and thus the web browser needs to re-request the css file for it to ever be updated.

I understand that the counts may be confusing, but so far they've been an important troubleshooting tool.