Skip to content

Releases: Julien-R44/hot-hook

Broken file matcher on windows

08 Apr 18:03
Compare
Choose a tag to compare
  • 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

05 Apr 06:57
Compare
Choose a tag to compare

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

04 Apr 22:23
Compare
Choose a tag to compare

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

03 Apr 20:47
Compare
Choose a tag to compare
  • chore: fix publishing file (c8c97eb)

Full Changelog: v0.1.1...v0.1.2

Cross-platform issue

03 Apr 20:37
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v0.1.0...v0.1.1

HMR Boundaries

03 Apr 16:45
Compare
Choose a tag to compare

Changes

This release radically changes the HMR / full reload detection system, please read #1

Commits