-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for kirby serve w/ HMR plugin (#18)
* feat: add support for `kirby serve` w/ HMR plugin * feat: allow HMR refresh, abort only on HMR reload * feat: rename module entry to _index.mjs makes it clearer that module entries are an internal, dev-only feature * docs: update examples to include serve script * feat: reload on PHP change in serve mode * feat: live-reload via CLI arg, CLI help, refactor * fix: only call server.close() if still listening * fix: set server.origin to serve assets in dev mode depends on vuejs/vue#12732 * fix: always pass array to vite-full-reload-plugin ElMassimo/vite-plugin-full-reload#9 * feat: specify port via cli instead of kirbyup conf * refactor: update reload-plugin, remove workaround * feat: make sure index.dev.mjs is gone after build * feat: set index.dev.mjs location with --out-dir * docs: update README for serve command * docs: capitalize "panel" * refactor: inline getViteConfig() type * fix: only handle SIGINT, implemented like vite
- Loading branch information
1 parent
f2be3f0
commit 0d152b2
Showing
11 changed files
with
534 additions
and
293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.