fix: hot reload watch files in sub folder

This commit is contained in:
windingwind 2023-06-13 14:43:37 +08:00
parent cd53936f66
commit 1b009b1742

View File

@ -28,7 +28,7 @@
"restart-prod": "npm run build-prod && npm run stop && npm run start",
"restart": "npm run restart-dev",
"reload": "npm run build-dev && node scripts/reload.mjs --z 7",
"watch": "chokidar \"src/*.*\" \"addon/*.*\" -c \"npm run reload\"",
"watch": "chokidar \"src/**\" \"addon/**\" -c \"npm run reload\"",
"release": "release-it",
"test": "echo \"Error: no test specified\" && exit 1",
"update-deps": "npm update --save"