Using SASS with import


I have sass enabled and I would like to import my sass files on scss/

@import "www/app/login/login";

When I do changes on the login.scss file, the compiled css file is not updated. It will only updated if I do changes on file.

How to fix this?


Check the “watch” task of your gulp file. It seems that the dir where your login.scss is, is not being watched an thus the gulp task is not aware of that file changes.


I tried to modify the gulp file:

var paths = { sass: ['./scss/**/*.scss','./www/app/**/*.scss']};

But that didnt help