Comments (6)
Note that using harmonize doesn't allow you to use es6 syntax in the gulpfile.js itself.
from gulp.
In the worst case, you can create alias in your .profile
. But this does not solve the problem with an exit code
alias gulp='node --harmony `which gulp`'
from gulp.
Gulpfiles
can just be run, they are JS. So if you are just running the default gulp task, add gulp.run('default');
to the end of your gulpfile
and just use node --harmony gulpfile
to run the file.
from gulp.
@phated Yep, that works. Though now I'm noticing that the exit code is still 0 even though my tests fail - I think there might be a problem with gulp calls. Will update this once I know.
from gulp.
@hiddentao Unless the plugin throws an error or explicitly calls process.exit(1)
it's going to be 0. gulp has no idea what the status of your tests are. You'll probably want to ask the plugin author.
from gulp.
A better way would be to use harmonize. See: http://stackoverflow.com/a/28412779/115493
from gulp.
Related Issues (20)
- Curly braces in glob without commas do not work HOT 2
- unlink not work HOT 2
- Dependency unset-value has a Prototype Pollution vulnerability
- Upgrade Gupl-cli version to 2.3.0 HOT 1
- gulp.src *.123456 vs *.1234567
- error TS2305: Module '"gulp"' has no exported member 'parallel' HOT 2
- Atualizacao Gulp Util
- gulp does not work if base path has brackets [ ] HOT 1
- Bump glob-watcher to 6.0.0
- Update glob-version to lates major version HOT 1
- Error: Cannot find module 'gulp-cli' HOT 2
- Bun support HOT 2
- Gulp 4: How do I prevent from duplicated dependent task execution? #1392 HOT 1
- Request to provide a more beginner-friendly tutorial on gulp website. HOT 1
- CVE-2020-2869
- Audit Vulnerability , security Report for "glob-parent" Package in `gulp` package
- 这个项目还维护吗
- Still using [email protected], which still uses [email protected] HOT 3
- gulp.dest() wrong path if foldername contains "*"
- Getting an error in yargs-parser after installing gulp
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gulp.