Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Styles do not update in webpack watch mode #736

Open
thers opened this issue Dec 22, 2021 · 3 comments
Open

Styles do not update in webpack watch mode #736

thers opened this issue Dec 22, 2021 · 3 comments

Comments

@thers
Copy link
Contributor

thers commented Dec 22, 2021

Just like in #665 , but on most recent webpack 5.65.0, all consecutive changes after first one are ignored.

Quick fiddling showed that apparently API has changed a bit, and now here must be fileWatcher.watcher.* instead of fileWatcher.*.

image

@jquense
Copy link
Contributor

jquense commented Dec 22, 2021

happy to take a PR that supports both the old and new here.

@RobMaple
Copy link

Sorry to jump in here but currently facing the same issue. Is the PR likely to merged?

@vadim-kudr
Copy link

Try to use useAltLoader: true. It helped me for storybook + react-refresh.

{
  loader: 'astroturf/loader',
  options: { enableCssProp: true, useAltLoader: true },
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants