Ensure node modules get a fresh install on reset
This commit is contained in:
parent
89e14268e9
commit
bbe9880db3
@ -1,5 +1,5 @@
|
||||
# include/setup: Set up application for the first time after cloning, or set it
|
||||
# back to the initial first unused state.
|
||||
# setup: Set up application for the first time after cloning, or set it
|
||||
# back to the initial first unused state.
|
||||
|
||||
# Load setup functions
|
||||
source ./script/include/setup_functions.inc.sh
|
||||
@ -16,6 +16,9 @@ if [ -z "${INSTALL_SASS+is_set}" ]; then
|
||||
fi
|
||||
|
||||
## Main
|
||||
# Remove any existing node modules as part of initial app setup or reset
|
||||
rm -rf ./node_modules
|
||||
|
||||
if [ "${CREATE_VENV}" = "true" ]; then
|
||||
install_pipenv
|
||||
create_virtual_environment
|
||||
|
Loading…
x
Reference in New Issue
Block a user