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