Using SASS with import


#1

I have sass enabled and I would like to import my sass files on scss/ionic.app.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 ionic.app.scss file.

How to fix this?


#2

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.


#3

I tried to modify the gulp file:

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

But that didnt help