Skip to content
This repository has been archived by the owner on Aug 2, 2018. It is now read-only.

Sass imports/dependencies are not being watched #462

Open
lucasmotta opened this issue Apr 27, 2015 · 4 comments
Open

Sass imports/dependencies are not being watched #462

lucasmotta opened this issue Apr 27, 2015 · 4 comments

Comments

@lucasmotta
Copy link

If I have this:

// main.scss
@import "./nav.scss";
// nav.scss
.nav {
  color: green;
}

And if I run Duo through the CLI with the --watch flag:

duo -w -u duo-sass -r css app.scss

Duo only watchs for changes on the main file and not for the dependencies. So none of the changes on nav.scss will trigger a new rebuild, only when I modify the main.scss.
I would expect the same behaviour of JavaScript files, that each require is added to the duo.json manifest. But the Scss import doesn't seem to work this way. :(

@kevva
Copy link
Member

kevva commented Apr 28, 2015

@matthewmueller, do we have some method for adding single files to the dependency tree?

@casio
Copy link

casio commented Jun 9, 2015

+1 just stumbled upon the same issue

@michaeltroy
Copy link

+1

@casio
Copy link

casio commented Jul 29, 2015

Seeing the same with vanilla css & no plugins btw: local deps dont seem to be watched whatsoever.

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

No branches or pull requests

4 participants