Ember-cli: Changes in imported scss files outside of /styles won't update the dist file

Created on 21 Apr 2016  路  3Comments  路  Source: ember-cli/ember-cli

I import styles like this:

@import "app/application/style";

On file change I get a message "file changed application/style.scss Build successful - 734ms." yet no live reload happens and changes are apparent only after manually restarting the server.

Changes of scss files /style folder work just fine.

Could be ember-cli-sass issue though.


Output from ember version --verbose:

ember-cli: 2.4.3
http_parser: 2.6.2
node: 5.7.0
v8: 4.6.85.31
uv: 1.8.0
zlib: 1.2.8
ares: 1.10.1-DEV
icu: 56.1
modules: 47
openssl: 1.0.2f
os: darwin x64

Most helpful comment

I did a nombom, uninstalled babel-eslint and added

,
    sassOptions: {
      includePaths: ['app']
    }

to ember-cli-build.js and It's working just fine.

Not sure what particularly solved the issue. Don't have time atm to trace back which step exactly solved the issue. Will try to get back to this later if also someone else experiences this.

All 3 comments

I did a nombom, uninstalled babel-eslint and added

,
    sassOptions: {
      includePaths: ['app']
    }

to ember-cli-build.js and It's working just fine.

Not sure what particularly solved the issue. Don't have time atm to trace back which step exactly solved the issue. Will try to get back to this later if also someone else experiences this.

Since you're saying things are working, I'm going to close this. Please reopen if you track down additional information!

@MartinMalinda 's fix worked for me also. Perhaps add this to the readme?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mohlek picture mohlek  路  5Comments

MelSumner picture MelSumner  路  4Comments

bcardarella picture bcardarella  路  5Comments

villander picture villander  路  5Comments

ctcpip picture ctcpip  路  3Comments