将启动项目放在postAttachCommand阶段执行

This commit is contained in:
2025-10-21 16:45:21 +08:00
parent 160906b6fd
commit dd9cc60ceb
2 changed files with 2 additions and 3 deletions

View File

@@ -5,8 +5,7 @@
5173
],
"postCreateCommand": "npm install && npm add -D vitepress",
"postStartCommand": "npm run docs:dev -- --host 0.0.0.0",
// "postAttachCommand": "pkill -f 'vite' || npm run docs:dev -- --host 0.0.0.0",
"postAttachCommand": "npm run docs:dev -- --host 0.0.0.0",
"customizations": {
"vscode": {
"extensions": [