Skip to content

Commit

Permalink
#339: reload config after settings have changed (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
hohwille authored Jan 14, 2020
1 parent 63a1792 commit d0bbabb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/src/main/resources/scripts/command/ide
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ function doUpdateSettings() {
SETTINGS_URL="https://github.com/devonfw/ide-settings.git"
fi
doInstall "${SETTINGS_PATH}" "${SETTINGS_URL}" "devonfw-ide-settings"
if [ ${?} = 0 ]
then
# shellcheck source=scripts/environment-project
source "${DEVON_IDE_HOME}/scripts/environment-project"
fi
if [ ! -f "${SETTINGS_PATH}/devon/conf/devon.properties" ]
then
doFail "Installation of settings failed!\nFile not found: ${SETTINGS_PATH}/devon/conf/devon.properties"
Expand Down

0 comments on commit d0bbabb

Please sign in to comment.