-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(wallet/backend,boutique/backend): DEV env - add hot reload for w…
…allet and boutique backends (#1740) * setup wallet backend hot reload * setup wallet backend hot reload dockerfile.dev * setup boutique backend hot reload * wallet hot reload watch also for shared folder changes * fix watch share path and remove chokidar env var * enable multiple types of local environment run configurations * pretty fix * fix pnpm lock
- Loading branch information
1 parent
8be89bb
commit 75e6316
Showing
10 changed files
with
159 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
|
||
if [ "$DEV_MODE" = "lite" ]; then | ||
echo "DEV_MODE is lite, running default command..." | ||
exec node ./packages/boutique/backend/dist/index.js | ||
elif [ "$DEV_MODE" = "debug" ]; then | ||
echo "DEV_MODE is debug, running build with debug port $DEBUG_PORT open..." | ||
exec node --inspect=0.0.0.0:${DEBUG_PORT} ./packages/boutique/backend/dist/index.js | ||
else | ||
echo "DEV_MODE is hot-reload, running dev command with nodemon watcher and rebuild..." | ||
exec pnpm boutique:backend dev | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.