chore(site): Add XState inspector (#872)

* Use XState inspector in dev mode

* Add new env var

* Lint
This commit is contained in:
Presley Pizzo
2022-04-04 19:54:41 -04:00
committed by GitHub
parent f02b8fda9e
commit d4e26ff8c2
5 changed files with 28 additions and 3 deletions

View File

@ -13,6 +13,6 @@ cd "${PROJECT_ROOT}"
# https://stackoverflow.com/questions/3004811/how-do-you-run-multiple-programs-in-parallel-from-a-bash-script
(
trap 'kill 0' SIGINT
CODERV2_HOST=http://127.0.0.1:3000 yarn --cwd=./site dev &
CODERV2_HOST=http://127.0.0.1:3000 INSPECT_XSTATE=true yarn --cwd=./site dev &
go run cmd/coder/main.go start --dev --tunnel=false
)