@harborclient/live-server
v0.4.4
Published
Headless live-server host for HarborClient (Express static server, scripts, run command).
Maintainers
Readme
@harborclient/live-server
Full documentation: https://harborclient.com/live-server/
Headless HarborClient live-server host.
Express static serving with path aliases, CORS, headers, proxies, routes,
custom error pages, pre/post request scripts, file watching, and an optional
supervised companion runCommand. Used by the Electron GUI main process and
the HarborClient CLI. Host-specific concerns (snippets, global variables,
script runner) are injected via LiveServerHostProviders.
Documentation
| Topic | Link | | --------------- | ----------------------------------------------------------------- | | Getting started | Introduction | | Installation | Installation | | Usage | Usage | | Host API | Host API | | Development | Development |
Canonical docs live in docs/. Edit those pages directly, then run
pnpm docs:build:nav to refresh the VitePress sidebar.
Development
This package lives in the HarborClient monorepo. Run from the repo root:
pnpm install
pnpm --filter @harborclient/live-server test
pnpm docs:live-server:serve # VitePress dev server with nav watcher
pnpm docs:live-server:build # production docs buildLicense
MIT
