Releases: Julien-R44/hot-hook
Releases Β· Julien-R44/hot-hook
Broken file matcher on windows
- fix: windows path broken with matcher (d127996)
- fix: doesnt call dipose callback when full reload is aked (d88ce83)
- fix: wrong type for import.meta.hot.dispose (480cca4)
Full Changelog: https://github.com/Julien-R44/hot-hook/compare/@hot-hook/[email protected]
Better output
Commits
- feat: improve runner output (f55b980)
- test: some test for hot-runner (6b74434)
- feat: improve hot-runner output (e96522e)
Full Changelog: https://github.com/Julien-R44/hot-hook/compare/v0.1.3...@hot-hook/[email protected]
Hardcoded boundaries
Changes
If using import.meta.hot?.boundary
in your code is not of your taste, you can now hardcode the list of files that you want to be hot reloadable and marked as boundaries in the hot.init
options using glob patterns in the boundaries
option.
await hot.init({
root: import.meta.filename,
boundaries: ['../app/**/controllers/*.ts'],
})
This will have the same effect as marking imports of these files with import.meta.hot.boundary
attribute
Commits
- fix: matching with relative parent glob pattern (59e80d2)
- feat: add hardcoded boundaries options (9f6331c)
Full Changelog: v0.1.2...v0.1.3
Include `import.meta` typing file
- chore: fix publishing file (c8c97eb)
Full Changelog: v0.1.1...v0.1.2
Cross-platform issue
Commits
- fix(loader): ensuring a cross-platform path (#3) (a1d9488)
- chore: update lockfile (820320d)
- chore: update readme (300c2ad)
- chore: doc about boundaries (afe85ca)
- chore: rework examples (3bfe3d0)
- Fix : fastify example (#2) (18d58d0)
What's Changed
- Fix : fastify example by @arkerone in #2
- fix(loader): ensuring a cross-platform path by @arkerone in #3
New Contributors
Full Changelog: v0.1.0...v0.1.1
HMR Boundaries
Changes
This release radically changes the HMR / full reload detection system, please read #1