To work on the website and see changes live as you save, run:
node_modules/.bin/gulp serve
That command will build the site and start a local server. To work on only the website without the docs, add the --nodocs
flag, as follows:
node_modules/.bin/gulp serve --nodocs
Alternatively, to dynamically rebuild the site and refresh the browser when changes happen (again, optionally with the --nodocs
flag), run:
node_modules/.bin/gulp watch
When you are done with developing, you can build and deploy using the automated steps.
You can also build and deploy manually. In case Travis build breaks, you may want to build and deploy manually.
gulp snapshot
. Read more here.Of course, you could do all three of the above as commits. After you commit them, then Travis will do the deploy.