React Multi-Step Form
If you are new to Gulp, Browserify, or build tools in general be sure to check out the blog post for more context and the Wiki for some additional background knowledge.
Install npm dependencies
This will run the
default gulp task defined in
gulp/tasks/default.js, which does the following:
- Run 'watch', which has 2 task dependencies,
setWatchsets a variable that tells the browserify task whether or not to use watchify.
buildas a task dependecy, so that all your assets will be processed before browserSync tries to serve them to you in the browser.
buildincludes the following tasks:
['browserify', 'sass', 'markup']
- Compile and move these files to
build/folder, and be served on your localhost at port 3000.
- Run appropriate tasks on when source files change and refresh the browser.