cnos dev env
cnos dev env
Use dev env when a local development workflow still expects a .env.* file.
cnos dev env --profile local --to .env.local -- pnpm devcnos dev env --profile stage --to .env.stage -- node server.jscnos dev env --public --framework vite --to .env.local --signal -- pnpm devBy default dev env:
- writes the env artifact before first launch
- watches CNOS inputs
- rewrites the target file on change
- restarts the child process
Use --signal when another tool is responsible for reloads and you only want the file to stay current.