Launch and monitor both Python and JS during development
No longer need to restart python each time any change is made. nodemon will handle that now. Using concurrently because I found it to be better performant than run-p.
This commit is contained in:
parent
c3157b4e15
commit
481e956c3a
@ -1 +1,2 @@
|
||||
REACT_APP_INPAINTING_URL=""
|
||||
FAST_REFRESH=false
|
@ -29,7 +29,9 @@
|
||||
"typescript": "4.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "run-p watch:css react-scripts:start",
|
||||
"dev:python": "nodemon --watch ../../* --exec python ../../main.py",
|
||||
"dev:react": "run-p watch:css react-scripts:start",
|
||||
"dev": "concurrently \"yarn dev:python\" \"yarn dev:react\"",
|
||||
"build": "run-s build:css react-scripts:build",
|
||||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject",
|
||||
@ -55,6 +57,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^5.1.0",
|
||||
"concurrently": "^7.0.0",
|
||||
"eslint-config-airbnb": "^18.2.1",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-import": "^2.25.2",
|
||||
@ -62,6 +65,7 @@
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"eslint-plugin-react": "^7.26.1",
|
||||
"eslint-plugin-react-hooks": "^4.2.0",
|
||||
"nodemon": "^2.0.15",
|
||||
"prettier": "^2.4.1"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user