Reset build dir in script before run
Fixes #515 which isn't really a bug, but can occasionally cause confusion when switching environments for the appmain
parent
d1c9b7f803
commit
829903fb9c
4
run
4
run
|
@ -12,6 +12,10 @@ SUBDIR="${1:-app}"
|
|||
export APP_ROOT="$SCRIPT_DIR/$SUBDIR"
|
||||
export STATIC_FOLDER="$APP_ROOT/static"
|
||||
|
||||
# Clear out build directory
|
||||
rm -f "$SCRIPT_DIR"/app/static/build/*.js
|
||||
rm -f "$SCRIPT_DIR"/app/static/build/*.css
|
||||
|
||||
# Check for regular vs test run
|
||||
if [[ "$SUBDIR" == "test" ]]; then
|
||||
# Set up static files for testing
|
||||
|
|
Loading…
Reference in New Issue