See-Sol-Lab/DeepSeekGUI--packages-boot-hmr ↗★ 274

@deepseek-ai/dsh-hmr

Coordinated module and profile configuration hot reload

套件
@deepseek-ai/dsh-hmr
相容性
待驗證
Harness 依賴範圍
workspace:*
Cordis 依賴範圍
workspace:~
版本
0.2.1-rc.2
授權
MIT
最近更新
2026年10月24日

同名套件的其他儲存庫

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗

Configuration

FieldDefaultMeaning
baseContext base URLBase directory for module watching.
root["."]Module watch roots; [] retains only explicit configuration watches.
ignored["**/node_modules", "**/.*", "cache", "data"]Excluded module paths.
debounce100Milliseconds for combining module changes.

Chokidar options, including polling, retain their existing meaning. Exact configuration watches also observe additions, removals and initially missing parent directories. They default to awaitWriteFinish: true: edits wait for Chokidar's 2-second write-stability window, avoiding its lossy change-event throttle. Configure awaitWriteFinish to adjust that window; disabling it can miss rapid consecutive edits. Direct Plugin Manager operations apply without waiting for file events.

Profile recompositions run by HMR's profile watches and by Plugin Manager also replace plugins whose loaded files below the profile directory changed on disk. This covers installed packages below node_modules and the targets of linked packages. A package whose files changed in place, such as a linked package whose build output changed or a dependency another installation upgraded, therefore takes effect without a restart at the next such recomposition; source watching through root is not required. A replacement that fails to load stops the previous plugin and is reported as failed with its load error instead of as a restart, which would load the same files; every later recomposition imports it again, so it starts once its files or dependencies are corrected.