-
-
Save udondan/4aa6293db79620a2cd0f4ed3625dbd74 to your computer and use it in GitHub Desktop.
Disabling fancy AWS CDK output
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
#!/bin/bash | |
if [[ "$1" != "deploy" ]]; then | |
/usr/local/bin/cdk "$@" | |
exit | |
fi | |
CDK_LOG=$(mktemp) | |
tail -f "${CDK_LOG}" & | |
PID=$! | |
/usr/local/bin/cdk "$@" &> "${CDK_LOG}" | |
kill "${PID}" &> /dev/null |
Don't know. Never used that. Probably you need to add some nvm use
etc after line 5.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How would you use this with nvm?