sass-brunch icon indicating copy to clipboard operation
sass-brunch copied to clipboard

"BrunchError: Failed to read file" when editing sass file

Open robacourt opened this issue 7 years ago • 0 comments

When editing SASS files (in VIM) with "brunch watch" running in another terminal, I sometimes get the error:

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): BrunchError: Failed to read file css/4913. Error: ENOENT: no such file or directory

After this I get a long (endless?) series of compiling messages:

info: compiling info: compiling. info: compiling..

Is there any way of stopping this happening as it means I have to restart brunch watch each time?

I'm not sure what the 4913 file is, the sass file I'm editing is in the same directory but is called site.scss not 4913. 4913 doesn't exist as a file and as far as I can tell is never created.

I'm using brunch v2.10.7 and sass-brunch v2.10.4.

robacourt avatar Apr 12 '18 14:04 robacourt