将启动项目放在postAttachCommand阶段执行
This commit is contained in:
		@@ -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": [
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user