Skip to content

Gulp Tasks

Joshua Garcia edited this page Sep 8, 2017 · 4 revisions

1) gulp watch

Watches style.sass and all the sass-partials and compiles the css

2) gulp serve

Watches local changes, runs the sass task, and uses browserSync to dynamically reload your browser

3) gulp deploy

Deploys theme, based on config.json. Note: this deploy task is ssh based, so your server needs to allow you to connect over ssh. Takes a --prod flag to deploy to production.

gulp deploy --prod

To deploy to staging run:

gulp deploy --staging

Or since staging is default simply run:

gulp deploy