Changes to Lazy Css Not Picked Up
Opened this issue · 1 comments
mahirshah commented
After making changes to dummy/lib/lazy/addon/styles/addon.scss
and running npm run build
, changes are not reflected in dist/engines-dist/lazy/assets/engine.css
. Only after rm -rf node_modules
, yarn
, npm run build
are changes reflected in dist/engines-dist/lazy/assets/engine.css
.
Steps to repro:
git clone git@github.com:sass-eyeglass/ember-cli-eyeglass.git
cd ember-cli-eyeglass
yarn
npm run build
cat dist/engines-dist/lazy/assets/engine.css
- Make a change to
dummy/lib/lazy/addon/styles/addon.scss
npm run build
cat dist/engines-dist/lazy/assets/engine.css
- Observe that changes are not picked up
stefanpenner commented
@mahirshah I believe this reproduction actually may be a red herring.
- it seems to be identical to: #48
- fixed by: #49
- caused simply how this project wires-stuff up with file:// version in npm, which 1 time copied assets into node_modules
But if memory serves you had a similar or related issue within a real app, that I do not want to overlook. Can you try for another reproduction or maybe we can sync up and dig in?