Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#2,811 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ả

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
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

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của voidzero-dev/vite-plus

Tất cả issue của voidzero-dev/vite-plus

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.