`vp pack --watch`: changes to pack config are not applied until restart
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust, typescript
- Lĩnh vực
- build-system, cli
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Rust
- Star
- 5.8k
- Fork
- 263
- Merge trung bình
- 22 giờ 48 phút
- Pull request đã merge (30 ngày)
- 145
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của voidzero-dev/vite-plus
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
voidzero-dev/vite-plus#2804 · 1 reaction ·
-
pending triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
voidzero-dev/vite-plus#2801 · 1 reaction ·
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
voidzero-dev/vite-plus#2097 · 10 bình luận · 2 reaction ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
voidzero-dev/vite-plus#2806 · 1 bình luận ·
-
documentation
voidzero-dev/vite-plus#2800 · 1 người được giao ·
Tất cả issue của voidzero-dev/vite-plus
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
bug core
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW Đang mởfuzz
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
ClickHouse/ClickHouse#122114 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
linebender/vello_svg#90 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100