question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cssmodulesify changes don't get reloaded

See original GitHub issue

what 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:closed
  • Created 7 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
pixelasscommented, Jan 1, 2018

@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

0reactions
milankinencommented, Jan 2, 2018

May I close this issue since it seems to be resolved?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found