Chrome extension hot Modules Reloader
💡 Instant Server Start
⚡️ Lightning Fast HMR
🔄 auto-reload chrome extension
A file watcher server that watch file change and instant update changed file in chrome extension without full reload.
With this package, you don't need to do
- Manual reload chrome extension.
- Close and reopen popup window to view change.
- Need to refresh tab to view change.
npm create crx-hmr
Grab client.js and server.js file from github
then add client.js with chrome extension page.
rename server.js to server.mjs
For start server: npm start
Start HMR server
crx-hmr start
Note: not test with windows/macos
crx-build - chrome extension builder: minify and zip
path-fixxer - Add npm packages in your extension.
crx-hmr is licensed under the MIT license.