sass-eyeglass/ember-cli-eyeglass

Changes to Lazy Css Not Picked Up

Opened this issue · 1 comments

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:

  1. git clone git@github.com:sass-eyeglass/ember-cli-eyeglass.git
  2. cd ember-cli-eyeglass
  3. yarn
  4. npm run build
  5. cat dist/engines-dist/lazy/assets/engine.css
  6. Make a change to dummy/lib/lazy/addon/styles/addon.scss
  7. npm run build
  8. cat dist/engines-dist/lazy/assets/engine.css
  9. Observe that changes are not picked up

@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?