feat: 新增 vscode_auto_watch 开关,打开项目自动起 watch 任务

- copier.yml 加 vscode_auto_watch 问题(默认 false)+ 条件排除 .vscode/tasks.json
- template/.vscode/tasks.json.jinja:按服务生成 watch 任务,runOn folderOpen
  前端 tsc --watch、后端/agent ruff --watch,均为工具自带 watch,无新依赖
- frontend 加 typecheck:watch 脚本
- README 问卷表补该项
This commit is contained in:
baozaotumao
2026-06-01 21:46:27 -07:00
parent 4c7dbb56eb
commit f927bd4b7a
4 changed files with 58 additions and 0 deletions
+1
View File
@@ -140,6 +140,7 @@ copier copy git+https://github.com/baozaotumao2025/scaffold.git my-new-project
| `database` | choice | sqlite | `sqlite` / `postgresql` |
| `node_version` | choice | 22 | 20 / 22 |
| `llm_provider` | choice | gemini-cli | `gemini-cli` / `openai-api` / `anthropic-api` / `custom` |
| `vscode_auto_watch` | bool | false | VSCode 打开项目自动启动 watch 任务(编码即时查错) |
> `llm_provider` 仅在 `include_agent=true` 时出现。