Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

`vp pack --watch`: changes to pack config are not applied until restart

未关闭
#2,811 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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 内容生成。

描述

pending triage
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
  1. Run vp pack --watch
  2. Change something in vite.config.ts
  • for example, change pack: { minify: false } to pack: { minify: true }
  1. Saving vite.config.ts will 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
主要语言
Rust
星标
5.8k
派生
263
平均合并
22 小时 48 分钟
30 天内合并 PR
145

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

voidzero-dev/vite-plus 的其他 Issue

查看 voidzero-dev/vite-plus 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。