Skip to content

Commit

Permalink
Fix development commands (#2623)
Browse files Browse the repository at this point in the history
Set NODE_ENV to `development` when running dev commands
  • Loading branch information
gaearon authored Jul 3, 2024
1 parent ed58101 commit d0b4d71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ test: ## Run all tests

.PHONY: run-dev-env
run-dev-env: ## Run a "development environment" shell
cd packages/dev-env; pnpm run start
cd packages/dev-env; NODE_ENV=development pnpm run start

.PHONY: run-dev-env-logged
run-dev-env-logged: ## Run a "development environment" shell (with logging)
LOG_ENABLED=true cd packages/dev-env; pnpm run start | pnpm exec pino-pretty
LOG_ENABLED=true cd packages/dev-env; NODE_ENV=development pnpm run start | pnpm exec pino-pretty

.PHONY: codegen
codegen: ## Re-generate packages from lexicon/ files
Expand Down

0 comments on commit d0b4d71

Please sign in to comment.