cssmodulesify changes don't get reloaded
See original GitHub issuewhat is the issue?
When changing a file a css file the new css is not loaded
expected behavior
When a css file is changed the browser should reload the css to apply the new styles
what is actually happening?
Changes in CSS files trigger a reload but return “nothing to reload”
VM10550 main.js:389
LiveReactload :: Bundle changed
VM10550 main.js:389
LiveReactload :: Nothing to reload
When I refresh the browser the change is visible. Changes in js files work as expected
Info
"livereactload": "^3.0.0"
const b = browserify({
entries: [inFile],
plugin: [
errorify,
watchify,
livereactload
],
transform: [
[ babelify, {
presets: [
'es2015',
'stage-0',
'react'
]
}]
]
})
b.plugin(cssModulesify, {
output: `${outFile}.css`,
generateScopedName
})
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
CSS modules don't hot reload on a React app #7098 - GitHub
CSS changes made into a .module.css file aren't hot reloaded into the browser. CSS changes in a .css file are reloaded fine.
Read more >CSS file not refreshing in browser - Stack Overflow
In Apple Safari: Hold down ⇧ Shift and click the Reload toolbar button. ... And then just increment the version number as you...
Read more >Rails 7 Live Reloading CSS - Reddit
I've been using rails_live_reload by rails jazz but it's currently only live reloading html changes and not css changes. I'm on Rails 7, ......
Read more >Untitled
Change jar counter, Batiment moderne londres, Stupava dom novostavba, ... Quaker house san antonio, X japan tokyo dome dvd, Ohnofromla get to me, ......
Read more >Untitled
Meininger frankfurt tripadvisor, Trumoo vanilla milk review, Don't throw me away ... Gonfalone wikipedia, Ninja 300 change oil, Cheeseforum org forum, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@tsi This is from the full repo of the example I added a while ago: https://github.com/pixelass/redux-react-boilerplate/blob/master/scripts/serve.js
May I close this issue since it seems to be resolved?