nb portal dev

Start development mode for the specified portal

Usage

nb portal dev <portal> [flags]

Flag

FlagTypeDescription
<portal>stringPortal name or slug.
--env, -estringCLI env name. If omitted, the current env is used.
--yes, -ybooleanSkip cross-env confirmation.

Examples

nb portal dev customer
nb portal dev customer --env dev --yes

Notes

The workspace must contain package.json. The command refreshes .env and .env.local, then runs pnpm dev. ssh envs are not supported in the current version.