@hubspot/cms-dev-server
v1.2.50
Published
Local development server for JS rendering, published as `@hubspot/cms-dev-server` and invoked via the HubSpot CLI. Handles proxying pages, serving/hot-reloading a customer's JS project, module/HubL routing, and a Storybook mode.
Downloads
34,577
Maintainers
Keywords
Readme
cms-dev-server
Local development server for JS rendering, published as @hubspot/cms-dev-server and invoked via the HubSpot CLI. Handles proxying pages, serving/hot-reloading a customer's JS project, module/HubL routing, and a Storybook mode.
See Set up local development for how this is normally run from the monorepo root (bend yarn start/bend yarn watch), and Utility Scripts for the full command reference.
Scripts
dev/dev-inspect— run the dev server directly (with--inspectfor the latter)start/start-inspect— same, via the built outputbuild/build:watch/build-types— build the package and its type declarationses-watch— watch mode for the ES buildrunBuild— used bybend yarn run-at-resources/run-at-resources-unifiedto point the dev server at a fixture projecttest/test:watch— vitestpublint— validates the published package shape before release
