NativeScript / nativescript-dev-sass

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

scss-file under a symlink are not transpiled into css #11

Closed m-abs closed 8 years ago

m-abs commented 8 years ago

I'm using Nathan Walker's angular2-seed-advanced for our project and we ran into a problem with nativescript-dev-sass.

angular2-seed-advanced shares code between web, desktop and {N} and does so by symlinking folders. This breaks nativescript-dev-sass because of glob, which by default doesn't crawl over symlinks. It can easily be fixed by adding the option { follow: true } here: https://github.com/toddanglin/nativescript-dev-sass/blob/master/lib/converter.js#L19

But I don't know if it's a good idea in the long run.