You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a CSS file at /css/main.css which imports other CSS files in subdirectories of /css, using relative @import statements. When I make edits, livereload makes a request for /lib/text.css, which should be /css/lib/text.css, resulting in a 404.
I thought maybe this was an issue with my app stack, which is complicated, so I made a new barebones repo which demonstrates the issue, using grunt-contrib-connect and grunt-contrib-watch.
I modified my demo repo to connect to the standalone LiveReload server (using the GUI Mac app) and this issue still occurs. So I guess this is an issue with livereload itself, not grunt watch. Will seek resolution elsewhere.
I have a CSS file at
/css/main.css
which imports other CSS files in subdirectories of/css
, using relative @import statements. When I make edits, livereload makes a request for/lib/text.css
, which should be/css/lib/text.css
, resulting in a 404.I thought maybe this was an issue with my app stack, which is complicated, so I made a new barebones repo which demonstrates the issue, using
grunt-contrib-connect
andgrunt-contrib-watch
.The demo repo is https://github.com/pascalpp/grunt-watch-reload-issue. To replicate the issue, clone that repo locally, run
npm install
andgrunt
, and then open http://localhost:9090 and follow the instructions shown there.If anyone has any insight on this issue, I'd really appreciate it.
The text was updated successfully, but these errors were encountered: