Closed BenSjoberg closed 5 years ago
We've been using this fix in our solution and it works perfectly.
I've also been using this fix for some time now, Will this ever be merged after a review?
@BenSjoberg, @YvesCandel, @btaluy, thanks for your help, I marked the related issues as ready for test
. Once we verify them, we will release a new version of the plugin.
Chokidar is firing events for files that don't match the glob when those files are under symlinked directories. Check that the path actually matches ".s[ac]ss" before triggering a compile.
Fixes
PR Checklist
What is the current behavior?
On macOS 10.14, having a symlinked directory containing SCSS files causes an infinite compilation loop when using
tns run
without--bundle
.What is the new behavior?
The loop no longer occuers, so the watcher process behaves as expected.
Fixes #94 & #85.