Dev-refresh is a CLI utility that watches directories for changes, runs a command (e.g., bundler or transpiler) on change, and automatically reloads the browser. If the command fails, the error message is displayed on the page, and the page is not reloaded. Current stable version: 1.2.1. Release cadence: low, with infrequent updates. It supports serving local files or proxying to an existing server. Differentiators: lightweight, no build step required, inline error display. Not for production use.
npm install dev-refreshNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Watch current directory, serve its files on default port, run echo and ls on change, reload browser.
Use single quotes for commands with spaces or special characters.
Do not expose dev-refresh to the public internet.
Ensure the directory path provided to dev-refresh exists.
Use the --port option to specify a different port.
No dependency data recorded yet.