Revert "Launch and monitor both Python and JS during development"

This reverts commit 481e956c3a.

We can start python server with --debug
This commit is contained in:
Sanster 2022-03-27 13:17:13 +08:00
parent 81efda9df1
commit ad0c68164d
2 changed files with 2 additions and 7 deletions

View File

@ -1,2 +1 @@
REACT_APP_INPAINTING_URL="" REACT_APP_INPAINTING_URL=""
FAST_REFRESH=false

View File

@ -29,9 +29,7 @@
"typescript": "4.x" "typescript": "4.x"
}, },
"scripts": { "scripts": {
"dev:python": "nodemon --watch ../../* --exec python ../../main.py", "dev": "run-p watch:css react-scripts:start",
"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", "build": "run-s build:css react-scripts:build",
"test": "react-scripts test", "test": "react-scripts test",
"eject": "react-scripts eject", "eject": "react-scripts eject",
@ -57,7 +55,6 @@
}, },
"devDependencies": { "devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.1.0", "@typescript-eslint/eslint-plugin": "^5.1.0",
"concurrently": "^7.0.0",
"eslint-config-airbnb": "^18.2.1", "eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.2", "eslint-plugin-import": "^2.25.2",
@ -65,7 +62,6 @@
"eslint-plugin-prettier": "^4.0.0", "eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.26.1", "eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-react-hooks": "^4.2.0",
"nodemon": "^2.0.15",
"prettier": "^2.4.1" "prettier": "^2.4.1"
} }
} }