diff --git a/script/include/run_setup b/script/include/run_setup index 97fa0808..fd026477 100755 --- a/script/include/run_setup +++ b/script/include/run_setup @@ -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