diff --git a/template/gulpfile.js b/template/gulpfile.js index 4038d251..483be4cb 100644 --- a/template/gulpfile.js +++ b/template/gulpfile.js @@ -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 }); }