Skip to content

@hot-hook/[email protected]

Compare
Choose a tag to compare
@Julien-R44 Julien-R44 released this 09 Apr 13:19
· 52 commits to main since this release

Dump Viewer

The dump viewer is a small frontend app built with Vis.js that lets you view Hot Hook's dependency graph. This lets you quickly see which files are hot reloadable and which aren't, and why.

image

To use it, you can add it to your application as follows:

fastify.get('/dump-viewer', async (request, reply) => {
  const { dumpViewer } = await import('@hot-hook/dump-viewer')

  reply.header('Content-Type', 'text/html; charset=utf-8')
  return dumpViewer()
})

then access your dev server at /dump-viewer.