gruntjs / grunt-contrib-sass

Compile Sass to CSS.
http://gruntjs.com/
MIT License
848 stars 141 forks source link

Warning: Exited with error code 100 #189

Closed soundasleep closed 9 years ago

soundasleep commented 9 years ago

On Windows x64 I am getting this warning repeatedly but very intermittently, but it doesn't seem to cause any problems. It looks like it's an issue with Sass holding onto file descriptors perhaps - I don't know what "100" means and --debug/--verbose provides no better debug information, but does sometimes reduce the frequency of the errors, maybe because of the slowness of printing extra debug information to console.

Running "sass:dist" (sass) task
Warning: Exited with error code 100 Use --force to continue.

To reproduce: run grunt sass sass sass sass sass - it's likely one of these targets will return 100, causing the grunt process to stop.

Hacky suggestion: change

if (code > 0) {

to

if (code > 0 && code !== 100) {
sindresorhus commented 9 years ago

:palm_tree: Not going to add a workaround without knowing why it happens. This issue is better opened on Sass itself as it seems there some issue on Windows. :palm_tree: