-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
less task hangs silently with sourceMap: true when EPERM expected #271
Comments
this should probably be caught by the adding this fixes it: try {
grunt.file.write(sourceMapFilename, output.map);
grunt.log.writeln('File ' + chalk.cyan(options.sourceMapFilename) + ' created.');
}
catch(err){
nextFileObj(err);
}
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Interesting issue. Using a perforce repo, the files need to be unlocked before building. sometimes you forget and the task throws an EPERM error:
that's caught and the task exits, as expected.
When
sourceMap: true
is set, relating to https://github.com/gruntjs/grunt-contrib-less/blob/master/tasks/less.js#L71 andgrunt.file.write()
, it just hangs.With
--verbose
, it catches it:BUT: it does not exit the process and just hangs. This also affects watch tasks etc.
The text was updated successfully, but these errors were encountered: