npm -v): 6.9.0node -v): 10.16.0node -p process.versions):node -p process.platform): win32node -p process.arch): x64node -p "require('node-sass').info"):npm ls node-sass):When my main.scss with import is being watched and I change + save the file that is being imported, I get this error message regularly (about 25 - 50% of the time):
{
"status": 1,
"file": "C:/Users/Wessel/Desktop/test-folder/SCSS/main.scss",
"line": 1,
"column": 1,
"message": "File to import not found or unreadable: base/reset.",
"formatted": "Error: File to import not found or unreadable: base/reset.n on line 1 of SCSS/main.scssn>> @import "base/reset";n ^n"
}
My folder structure:

When I change my _reset.scss file and save, sometimes I get the green "Rendering Complete, saving .css file...
Wrote CSS to C:UsersWesselDesktoptest-folderstyle.css" and sometimes I get the error message. It seems really random.

same error anyone has a fix ?
This is an issue with VS Code. There is a patch over in #2680, but it is specific to an IDE
Solve this by installing nodemon:
npm install nodemon --save-dev
Then adding these two in package.json:
"scripts": {
"compile:sass": "node-sass sass/main.scss css/style.comp.css"
"watch:sass": "nodemon -e scss -x "npm run compile:sass""
}
This is an issue with VS Code. There is a patch over in #2680, but it is specific to an IDE
Yeah, #2386 should be the right link
Most helpful comment
Solve this by installing nodemon:
npm install nodemon --save-dev
Then adding these two in package.json:
"scripts": {
"compile:sass": "node-sass sass/main.scss css/style.comp.css"
"watch:sass": "nodemon -e scss -x "npm run compile:sass""
}