We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2d0bff5 + fbc6344 commit fa427fcCopy full SHA for fa427fc
src/lib/watcher.js
@@ -21,6 +21,11 @@ var watcherOptions = {
21
22
watcher = choki.watch('**/*.s[ac]ss', watcherOptions)
23
.on('all', (event, filePath) => {
24
+ // Workaround for false matches from chokidar
25
+ if (!filePath.match(/\.s[ac]ss$/i)) {
26
+ return;
27
+ }
28
+
29
watchPromisesChain = watchPromisesChain
30
.then(() => compiler.compile({appDir, projectDir}))
31
.catch(err => {
0 commit comments