css - Does SASS handle multiple level imports? -


problem: changing partial sass file imports, doesn't appear cause sass file generate css file.

info: i'm using libsass (have tested both via sassystudio visual studio plugin, , via grunt libsass package grunt-sass. see below details:

in sass file file.scss:

@import '_file.scss'; 

in partial sass file _file.scss:

body {     background-color: magenta; } 

when save partial file, libsass detects change in _file.scss no updated file.scss , no file.css changes.

if save file.scss once again see detected changes libsass, , file.css contains:

body {     background-color: magenta; } 

what not detect partial file change , automatically compile sass files importing partial? intended, or doing wrong?

further information: clarify little more, issue seems saving partial doesn't cause non-partial sass files recompiled updated data partials. if had _forms.scss partial file, , wished update form input element padding, need save _forms.scss , save files import _forms.scss change. seems little wrong me.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -