Skip to content

Commit

Permalink
Specify development env (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablopunk committed Sep 12, 2017
1 parent f7f54bd commit a4d6084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ gulp.task('build', done => {
// TODO: add remark-cli with -qfo options
// TODO: ensure depcheck, xo, pug-lint, remark lint called in lint task
runSequence('lint', 'css', ['img', 'js', 'static'], async () => {
if (!PROD) {
if (config.env === 'development') {
if (config.openInBrowser) {
await opn(config.urls.web, { wait: false });
}
Expand Down

0 comments on commit a4d6084

Please sign in to comment.