What is gulp.start?
See original GitHub issueI see that gulp.run
was deprecated, but I also see that there is a gulp.start
command that seems to do the same thing as gulp.run
, but just is more aptly named and doesn’t come with the deprecation warning.
I couldn’t find anything in the docs about gulp.start
. Am I correct in thinking that gulp.start
is a replacement for gulp.run
(because of the better name), or is it some unreliable internal API that some people have stumbled upon and it’s gonna disappear someday and people shouldn’t rely on it?
If it’s just missing from the docs, I’d be willing to do a PR as far as I understand how it works.
Issue Analytics
- State:
- Created 9 years ago
- Reactions:11
- Comments:55 (24 by maintainers)
Top Results From Across the Web
Quick Start | gulp.js
Quick Start# · Check for node, npm, and npx# · Install the gulp command line utility# · Create a project directory and navigate...
Read more >Gulp - Quick Guide - Tutorialspoint
Gulp is a task runner that uses Node.js as a platform. Gulp purely uses the JavaScript code and helps to run front-end tasks...
Read more >How To Build And Develop Websites With Gulp
Gulp has the ability to watch files for changes and then run a task or tasks when changes are detected. This feature is...
Read more >Gulp for Beginners | CSS-Tricks
Gulp is a tool that helps you out with several tasks when it comes to web development. It's often used to do front...
Read more >Super simple Gulp tutorial for beginners - freeCodeCamp
Install Node.js and npm to your computer · Install Gulp and other packages needed for your project · Configure your gulpfile.js file to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
gulp.run had a thing where if you passed it no arguments it would run the
default
task. This was a stupid wrapper around gulp.start, so gulp.run was deprecated in favor ofBoth of these will be outmoded by the new task system in gulp 4 however, which uses composable functions instead of complex task dependency trees.
@avanderhoorn Using gulp.watch:
gulp.watch('./build/**/*', ['pack'])