google / dart-scissors

sCiSSors: smarter resources for Angular(1,2) apps: CSS pruner & bidirectionalizer, Sass runner, image optimizer, locale permutations
https://pub.dartlang.org/packages/scissors
Apache License 2.0
33 stars 27 forks source link

sassc temporary folder issue on Mac OSX #60

Open eredo opened 8 years ago

eredo commented 8 years ago

OS: Mac OSX Yosemite Dart Version: Dart VM version: 1.19.1 (Wed Sep 7 08:59:17 2016) on "macos_x64" Pub Version: Pub 1.19.1

I'm trying to serve a project which contains SASS (scss) files within the lib folder. This results in the following error message:

[SassC on XYZ|XYZ|lib/components/app.scss]:
Failed to run [/usr/local/bin/sassc, -t, expanded, -m, ../../../../../../Users/Eric/XYZ/lib/components/app.scss, app.scss.css, --load-path, /Users/Eric/XYZ] in /var/folders/pv/1mm2ydkj0414nv110gnr1vvw0000gq/T/pNjrSc:
Internal Error: File to read not found or unreadable: ../../../../../../Users/Eric/XYZ/lib/components/app.scss

Pub serve:

pub serve --force-poll

It seems that the Mac OSX Symlinks cause the issue, because /var/folders/pv/... actually points to /private/var/folders/pv/... .