Fix for parallel start script

This commit is contained in:
Eric Jinks 2018-01-24 13:59:46 +10:00
parent f93da3f26a
commit e3b57a58d0

View file

@ -42,13 +42,13 @@
"react-snapshot": "^1.1.0"
},
"scripts": {
"start": "npm run watch:content && react-scripts start",
"start": "npm run watch:content & react-scripts start",
"build": "npm run prepare-content && react-scripts build && npm run build:postcss && react-snapshot && npm run sw",
"build:postcss": "postcss build/static/css/*.css -r",
"parse-content": "node ./functions/parse-content.js",
"resize-images": "node ./functions/resize-images.js",
"prepare-content": "npm run parse-content && npm run resize-images",
"watch:content": "chokidar 'content/**/**' -c 'npm run prepare-content' --initial",
"watch:content": "chokidar 'content/**/**' -c 'npm run prepare-content'",
"sw": "sw-precache --config='sw-precache-config.js'",
"test": "standard | snazzy && react-scripts test --env=jsdom",
"eject": "react-scripts eject"