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

@import scss file hot reload #26

Closed
f0def opened this issue Jul 29, 2015 · 2 comments
Closed

@import scss file hot reload #26

f0def opened this issue Jul 29, 2015 · 2 comments

Comments

@f0def
Copy link

f0def commented Jul 29, 2015

Thanks for a great loader!
I using customization with bootstrap-sass.config.js like that:

module.exports = {
  preBootstrapCustomizations: "./_pre-bootstrap-customizations.scss",
  bootstrapCustomizations: "./_bootstrap-customizations.scss",
  mainSass: "./main.scss",
  styleLoader: ExtractTextPlugin.extract("style-loader", "css-loader!sass?outputStyle=expanded"),
  scripts: {
    ...
  },
  styles: {
    ...
  }
};

main.scss

//some css
@import "table";

table.scss

//table css

Then i modify main.scss webpack recompile and reload page. But then i change imported table.scss nothing happens. How to fix?

@jorrit
Copy link
Contributor

jorrit commented Jul 30, 2015

I think bootstrap-sass-loader relies on sass-loader for hot reload functionality, so this issue seems similar to webpack-contrib/sass-loader#130.

@f0def
Copy link
Author

f0def commented Jul 30, 2015

@jorrit thx you. Indeed, the problem in the sass-loader.

@f0def f0def closed this as completed Jul 30, 2015
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

2 participants