Show HN: hmr-serve, hot-loading web app for any folder (MIT) HMR-serve, a new open-source tool by an unnamed developer, turns any folder into a hot-loading web app with instant updates via Vite's HMR, supporting Markdown, HTML, code, CSV, and images. Released under MIT license, it aims to simplify previewing files locally, including AI agent output, without a build step. HMR-serve is inspired by npm run dev and by serve https://www.npmjs.com/package/serve . It turns any folder into a hot-loading web app, because sometimes it's nice to preview HTML, Markdown, images and other files in the browser. Point hmr-serve at any folder and review it live in the browser: a VSCode-style file tree on the left, a content pane on the right and instant updates as files change on disk , powered by Vite's real dev server and HMR https://vitejs.dev/guide/features.html hot-module-replacement client. ๐Ÿ”ฅ HMR Hot Module Replacement is the mechanism that pushes file changes into the browser over a WebSocket so the page updates without a full refresh. This project uses Vite's HMR https://vitejs.dev/guide/features.html hot-module-replacement rather than inventing its own. Tip:Helpful for reviewing AI agent output markdown/HTML docs as it iterates. npx hmr-serve ./some-folder โ†’ opens http://localhost:5183 with a live tree + content pane Or run it like serve without the nav, which serves a directory listing or index.html if present, plus rendered Markdown, CSV/TSV, all with HMR: npx hmr-serve ./some-folder --no-nav For a permanent setup, install globally and use the short hmr command: npm install -g hmr-serve hmr ./some-folder hmr ./some-folder --no-nav CLI: hmr dir Folder to serve default: current directory --port