Skip to content

Commit 0f3fe77

Browse files
committed
Update v2-dev script for new Makefile targets / built binary path
1 parent 9fdefa5 commit 0f3fe77

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

devbin/v2-dev

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ set -euo pipefail
55
PROJECT_ROOT="$(git rev-parse --show-toplevel)"
66
cd "${PROJECT_ROOT}"
77

8-
# Do initial build - a dev build for coderd that doesn't require front-end assets
9-
make dev/go/coderd
8+
# Do initial build - a dev build for coderd.
9+
# It's OK that we don't build the front-end before - because the front-end
10+
# assets are handled by the `yarn dev` devserver.
11+
make bin/coderd
1012

1113
# This is a way to run multiple processes in parallel, and have Ctrl-C work correctly
1214
# to kill both at the same time. For more details, see:
1315
# https://stackoverflow.com/questions/3004811/how-do-you-run-multiple-programs-in-parallel-from-a-bash-script
14-
(trap 'kill 0' SIGINT; CODERV2_HOST=http://127.0.0.1:3000 yarn dev & ./build/coderd)
16+
(trap 'kill 0' SIGINT; CODERV2_HOST=http://127.0.0.1:3000 yarn dev & ./bin/coderd)

0 commit comments

Comments
 (0)