mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-21 02:09:25 +08:00
* reload personal config when imported .js files change * watch and load the same config file kinds the watcher skipped foo.d.js, foo.d.mjs, and foo.d.json because it treated every .d stem as a declaration file, while the loader ran any file imported by its exact name as javascript even though edits to it never reloaded. both now use one predicate: ts, js, mjs, mts, and json in any case, excluding only .d.ts and .d.mts declarations. the loader refuses other extensions when a config imports them.