1
1
mirror of https://github.com/primer/css.git synced 2024-09-21 05:39:15 +03:00

docs: sync({watch: !NODE_ENV})

This commit is contained in:
Shawn Allen 2019-02-04 15:48:06 -08:00
parent 696bc5d836
commit 6d052cbc61

View File

@ -1,6 +1,6 @@
/* eslint-disable no-console */
const sync = require('./sync')
const {CI, NODE_ENV, NOW_URL} = process.env
const {NODE_ENV, NOW_URL} = process.env
module.exports = (nextConfig = {}) => {
const {assetPrefix = NOW_URL || ''} = nextConfig
@ -27,7 +27,7 @@ module.exports = (nextConfig = {}) => {
// only attempt to sync locally and in CI
if (dev && !configured) {
sync({watch: !CI})
sync({watch: !NODE_ENV})
}
config.module.rules.push({