Complete workflow for React / Django development
- watch the app build - docker handles the rest Closes #185
... | @@ -8,7 +8,7 @@ | ... | @@ -8,7 +8,7 @@ |
"license": "Apache-2.0", | "license": "Apache-2.0", | ||
"private": false, | "private": false, | ||
"scripts": { | "scripts": { | ||
"dev": "webpack --mode development ./go/go_ahead/src/index.jsx --output ./go/static/main.js", | "dev": "webpack --mode development ./go/go_ahead/src/index.jsx --output ./go/static/main.js --watch", | ||
"build": "webpack --mode production ./project/frontend/src/index.js --output ./go/static/main.js" | "build": "webpack --mode production ./project/frontend/src/index.js --output ./go/static/main.js" | ||
}, | }, | ||
"babel": { | "babel": { | ||
... | ... |
Please register or sign in to comment