NativeScript / nativescript-dev-sass

SASS CSS pre-processor for NativeScript projects
Apache License 2.0
44 stars 17 forks source link

Update node-sass dependency #48

Closed evanfuture closed 6 years ago

evanfuture commented 6 years ago

There is an issue with watchers in the latest version of node-sass. This fixes us to to the last version that worked. Fixes issue https://github.com/NativeScript/nativescript-dev-sass/issues/47

vakrilov commented 6 years ago

Thanks @evanfuture!

datanotion commented 6 years ago

This was driving me crazy - I must have been running an older version, as it seems to work now.

As a side note, this issue was fixed 2 days ago in node-sass: https://github.com/sass/node-sass/pull/2151/files

Question though - nativescript-dev-sass still seems to be transferring the .sass file to the device as well - is that what is causing the app to restart even on style changes?

image

evanfuture commented 6 years ago

I'll keep an eye on that fix, and make another PR here to bump the version once it's out of pre-release (4.7.0) and I test it out of course.

I don't know about the sass files, but yes, that would trigger a restart. I thought I read somewhere that it would be nice to not have them transfer, but no one had the time to take that up. Not sure!

evanfuture commented 6 years ago

Ok, checked it out and made a PR: https://github.com/NativeScript/nativescript-dev-sass/pull/51 Works well!