-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Gulp process doesn't exit when executed from npm script #18
Comments
Gulpfile.js var gulp = require('gulp');
var less = require('gulp-less');
var path = require('path');
gulp.task('css', function(){
gulp.src('./static/src/*.less')
.pipe(less({
compress: true,
paths: [
path.join(__dirname, 'static/src/less'),
path.join(__dirname, 'static/src/bootstrap')
]
}))
.pipe(gulp.dest('./static/dist/css'));
});
gulp.task('default', function(){
gulp.run('css');
}); package.json {
"dependencies":{
"gulp":"*",
"gulp-less":"*"
},
"scripts":{
"build":"gulp"
}
} Not able to reproduce. Node v0.11.8 |
Node version |
filename is |
I have yet to test with edge ( |
Works now, great work! |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running gulp as an npm script causes gulp process not to exit.
In
package.json
and running
npm run-script static
causes process to hang.The text was updated successfully, but these errors were encountered: