Skip to content
This repository was archived by the owner on Jan 6, 2020. It is now read-only.

3. Gulp commands

Jon Roobottom edited this page Jan 3, 2016 · 1 revision

The pattern library uses gulp to automate common tasks like building and exporting. You can use the following commands to accomplish common tasks:

  • gulp (default task) Runs and watches a local version of the pattern library preview environment. This process will auto-rebuild and auto-refresh your browser when changes are detected on any file in the /blocks folder.

  • gulp clean Useful for solving common build problems. This task will delete all files and folders that are generated by gulp.

  • gulp export Packages all blocks ready for Firefly into the /export folder. It is then a manual copy-and-paste task to transfer them into Firefly's folder structure (at www/Templates/lib/core/patterns).

Clone this wiki locally