From ad0c68164dde01a2e03ebb9d685abb443f3abd3d Mon Sep 17 00:00:00 2001 From: Sanster Date: Sun, 27 Mar 2022 13:17:13 +0800 Subject: [PATCH] Revert "Launch and monitor both Python and JS during development" This reverts commit 481e956c3af4a72bbf92afaac5cac10052d2a644. We can start python server with --debug --- lama_cleaner/app/.env | 3 +-- lama_cleaner/app/package.json | 6 +----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/lama_cleaner/app/.env b/lama_cleaner/app/.env index b6f760a..3a85ad7 100644 --- a/lama_cleaner/app/.env +++ b/lama_cleaner/app/.env @@ -1,2 +1 @@ -REACT_APP_INPAINTING_URL="" -FAST_REFRESH=false \ No newline at end of file +REACT_APP_INPAINTING_URL="" \ No newline at end of file diff --git a/lama_cleaner/app/package.json b/lama_cleaner/app/package.json index 51b6b5d..ade8cbe 100644 --- a/lama_cleaner/app/package.json +++ b/lama_cleaner/app/package.json @@ -29,9 +29,7 @@ "typescript": "4.x" }, "scripts": { - "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\"", + "dev": "run-p watch:css react-scripts:start", "build": "run-s build:css react-scripts:build", "test": "react-scripts test", "eject": "react-scripts eject", @@ -57,7 +55,6 @@ }, "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", @@ -65,7 +62,6 @@ "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" } }