Comments (4)
Thanks for the kind words @mohanzhang. If you know anybody interested in working with a cool, 100% remote team, please send them my way! We're on the beach in Maui and you've got a picture of windsurfer!
Anyway, regarding the hot reload, there's a known issue in that dependencies of the top level used to not be picked up, and that was supposed to change soon. I sometimes use a shell command to touch one of the top level sass files. By top level, I mean one of the files directly picked up by webpack.
However, if you touch the mainSass, that should get picked up.
I've got instructions on debugging this in the README.md. Did you try those?
from bootstrap-sass-loader.
(No shaka emoji, unfortunately --- I will settle for 🏄)
So I think I am experiencing a slightly worse problem than dependencies of the top level not being picked up; namely, it's that the top-level dependencies themselves are not being picked up. Like, I am hitting save on mainSass
and touching mainSass
and doing all sorts of things to it, but webpack-dev-server just sits there motionless. If I hit save or touch a js file for instance, that gets picked up just fine.
(EDIT)
I left the above text up there in case someone else finds this and what I describe above is what you're experiencing. As I was writing that, it occurred to me to check what my version of sass-loader was (inspired by @justin808's comment that implied that there are known issues with sass-loader at the moment that are supposed to get fixed soon). It turns out I was on 1.0.4, which was the latest version just 20 days ago. Since then, 2.0.1 came out 9 days ago. Updating sass-loader to the latest version fixed everything, and now hot reloading works again!
All told, it looks like bootstrap-sass-loader was just an innocent bystander to this problem, and was not at fault at all. But at least I got to fantasize about throwing sick moves on the north shore of Maui while I tried to figure it out! (seriously, ask @justin808 about his backyard) Thanks Justin ;) haha!
from bootstrap-sass-loader.
@mohanzhang I hope I see you my pad http://www.sugarranchmaui.com some day! Regarding your issue, should we add something to the readme? Any other changes?
from bootstrap-sass-loader.
@justin808 I'm actually not sure how I got into the bad state, so I don't know if there's anything I could say to prevent someone else from having the same problem.
If anyone out there sees this and also ran into this problem, mind posting how you got here? And if upgrading sass-loader was the solution for you as well?
from bootstrap-sass-loader.
Related Issues (20)
- Cannot load files... HOT 4
- File to import not found or unreadable with sass-loader 1.0.3 HOT 9
- @import scss file hot reload HOT 2
- 1.0.7 ERROR: Could not find path to config.bootstrapCustomizations HOT 3
- Weird relative path behaviour HOT 8
- Placeholder for Bootstrap 4.0 HOT 15
- getting it to work HOT 2
- how do i include bootswatch customizations for _variables and _bootswatch? HOT 5
- extract text plugin HOT 3
- Add global wrapper for CSS Modules HOT 1
- Loading only bootstrap styles HOT 6
- "1.a Complete Bootstrap" not working for me HOT 2
- Feature request: Ability to turn off scripts and dependency on jquery HOT 2
- Migration to bootstrap-loader HOT 1
- bootstrap-sass-loader with eslint-loader HOT 2
- How can I access bootstrap variables? HOT 11
- Unable to parse fonts HOT 1
- Style loader class name spaced HOT 1
- t
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap-sass-loader.