-
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #171 from jakowenko/beta
v1.7.0
- Loading branch information
Showing
31 changed files
with
11,826 additions
and
2,352 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
#!/bin/bash | ||
|
||
PATHS=""; | ||
if [ "$CONFIG_PATH" ] | ||
then | ||
mkdir -p "$CONFIG_PATH" | ||
[ -f "$CONFIG_PATH"/config.yml ] || echo $'# Double Take' > "$CONFIG_PATH"/config.yml | ||
exec nodemon -e yml --watch "$CONFIG_PATH" -q api/server.js | ||
PATHS="$PATHS --watch "$CONFIG_PATH""; | ||
else | ||
mkdir -p ./.storage/config | ||
[ -f ./.storage/config/config.yml ] || echo $'# Double Take' > ./.storage/config/config.yml | ||
exec nodemon -e yml --watch ./.storage/config --watch ./config.yml -q api/server.js | ||
fi | ||
PATHS="$PATHS --watch ./.storage/config"; | ||
fi | ||
|
||
if [ "$SECRETS_PATH" ] | ||
then | ||
PATHS="$PATHS --watch "$SECRETS_PATH""; | ||
elif [ "$CONFIG_PATH" ] | ||
then | ||
PATHS="$PATHS --watch ./.storage/config"; | ||
fi | ||
|
||
node -e 'require("./api/src/constants")()' | ||
exec nodemon -e yml,yaml $PATHS -q api/server.js |
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#!/bin/bash | ||
|
||
mkdir -p ./.storage/config | ||
[ -f ./.storage/config/config.yml ] || echo $'# Double Take' > ./.storage/config/config.yml | ||
node -e 'require("./api/src/constants")()' | ||
exec npm run api |
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.