BuildTaskBuilder exposes the following tasks when using the default config:
gulp
: First clears your destination directory, then callsdev
, thenwatch
and then starts up a browserSync webservergulp prod
: Clears destination, then creates production filesgulp serve
: Just boots up and runs the server; changes won't be watched (as no watch tasks are started)gulp clean
: Removes the destination folder
jsDev
: Clears JS folder in destination, converts JS files, then haltsjsWatch
: Only watches JS files (triggers on change)js
:jsDev
thenjsWatch
jsProd
: Clears JS folder in destination, converts and minifies files for production
cssDev
: Clears CSS folder in destination, converts css files, then haltscssWatch
: Only watches CSS files (triggers on change)css
:cssDev
thencssWatch
cssProd
: Clears CSS folder in destination, converts and minifies files for production
htmlDev
: Clears HTML folder in destination, copies all HTML fileshtmlWatch
: Only watches HTML files (triggers on change)html
:htmlDev
thenhtmlWatch
htmlProd
: Clears HTML folder in destination, converts and minifies files for production