GitHub - NV/chrome-devtools-autosave: Auto-saving CSS and JavaScript changes from the Chrome Developer Tools doesnt play nice with
Asset
Pipeline. Make it work with the Rails’ Asset Pipeline · Issue #27 · NV/chrome-devtools-autosave · GitHub
The culprit of the problem is in the assets URLs. I cannot decipher a
file
path by its URL. For instance, /assets/main.css?body=1 could be either
app/assets/stylesheets/main.css, lib/assets/stylesheets/main.css
or vendor/stylesheets/main.css.
To fix it, we could either make URLs match their file path:
/app/assets/stylesheets/main.css?body=1
or introduce source-path query parameter:
/assets/main.css?body=1&source-path=app/assets/stylesheets/main.css
Any help would be good.