`vp pack --watch`: changes to pack config are not applied until restart
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 55/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- rust, typescript
- 领域
- build-system, cli
调研方向
Start by running vp pack --watch and changing pack.minify in vite.config.ts to observe the reload path. Trace how the watcher detects configuration changes and compare it with the stated tsdown --watch behavior. Done means changed pack options are applied on the next build without restarting the watcher.
由索引模型根据 Issue 内容生成。
描述
Describe the bug
Changed options are not applied while the watcher is running.
tsdown --watch does not have that issue.
Reproduction
Too basic, no particularly specific repro needed. See steps to reproduce below.
Steps to reproduce
- Run
vp pack --watch - Change something in
vite.config.ts
- for example, change
pack: { minify: false }topack: { minify: true }
- Saving
vite.config.tswill trigger a build, but the new options will not be applied
System Info
> vp env current
VITE+ - The Unified Toolchain for the Web
Node.js:
Version 26.10.0
Source devEngines.runtime
Bin Path C:\Users\me\AppData\Local\vite-plus\data\js_runtime\node\26.10.0\node.exe
Installed true
Mode managed
Package Manager:
Name npm
Version 12.1.0
Source devEngines.packageManager
Bin Paths
npm C:\Users\me\AppData\Local\vite-plus\data\package_manager\npm\12.1.0\npm\bin\npm.cmd
npx C:\Users\me\AppData\Local\vite-plus\data\package_manager\npm\12.1.0\npm\bin\npx.cmd
Installed true
Mode managed
> vp --version
VITE+ - The Unified Toolchain for the Web
vp v1.0.0-rc.0
Local vite-plus:
vite-plus v1.0.0-rc.0
Tools:
vite v8.3.0
rolldown v1.2.9
vitest v5.0.1
oxfmt v0.70.0
oxlint v1.85.0
oxlint-tsgolint v7.0.2002
tsdown v0.23.0
Environment:
Package manager npm ^12.0.0
Node.js v26.10.0 (devEngines.runtime)
Used Package Manager
npm
Logs
Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue for the same bug.
- Confirm this is a Vite+ issue and not an upstream issue (Vite, Vitest, tsdown, Rolldown, or Oxc).
- The provided reproduction is a minimal reproducible example.
- 主要语言
- Rust
- 星标
- 5.8k
- 派生
- 263
- 平均合并
- 22 小时 48 分钟
- 30 天内合并 PR
- 145
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
voidzero-dev/vite-plus 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
voidzero-dev/vite-plus#2804 · 1 个 reaction ·
-
pending triage
难度 2/5 1-3 小时 新手友好度 75/100
voidzero-dev/vite-plus#2801 · 1 个 reaction ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 62/100
voidzero-dev/vite-plus#2097 · 10 条评论 · 2 个 reaction ·
-
难度 5/5 一周以上 新手友好度 35/100
voidzero-dev/vite-plus#2806 · 1 条评论 ·
-
documentation
voidzero-dev/vite-plus#2800 · 已指派 1 人 ·
查看 voidzero-dev/vite-plus 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
-
bug core
难度 2/5 1-3 小时 新手友好度 86/100
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW 未关闭fuzz
难度 2/5 1-3 小时 新手友好度 82/100
ClickHouse/ClickHouse#122114 ·
-
难度 1/5 1 小时以内 新手友好度 92/100
linebender/vello_svg#90 ·
-
难度 2/5 1-3 小时 新手友好度 74/100