Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

anilkumarum/crx-hmr

Repository files navigation

crx-hmr

Chrome extension hot Modules Reloader
💡 Instant Server Start
⚡️ Lightning Fast HMR
🔄 auto-reload chrome extension

NPM

A file watcher server that watch file change and instant update changed file in chrome extension without full reload.

Benefits

With this package, you don't need to do

  1. Manual reload chrome extension.
  2. Close and reopen popup window to view change.
  3. Need to refresh tab to view change.

Get started

npm create crx-hmr

from source code

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

Usage

Start HMR server
crx-hmr start

Note: not test with windows/macos

Related

crx-build - chrome extension builder: minify and zip
path-fixxer - Add npm packages in your extension.

License

crx-hmr is licensed under the MIT license.

About

Chrome extension hot Modules Reloader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published