dsh-hot-reloader: Changes to DSH plugin source code take effect immediately without restarting the host

The built-in dsh-hmr in DSH excludes node_modules, making it unable to hot-reload third-party plugins installed under the profile. Maintained by xfgil, dsh-hot-reloader polls for source code changes within packages, clears the cache, and rebuilds plugins with their original configurations, taking effect in about one second. It supports installation via link or npm, provides HTTP APIs for status and manual reloading, and is configurable with only/except rules, debouncing, and yielding to package installations. Aimed at plugin developers, it requires the host to run with --expose-internals, and reloading causes plugins to lose their in-memory state. Licensed under MIT, it has been tested with DSH 0.2.0-rc.2.

Read More