diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-11-09 10:36:25 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-11-09 10:36:25 +0000 |
commit | 7e1e2af3f85b7953ce572a4d5f6993a9133447f0 (patch) | |
tree | 69783ce1a51fb90a23239db8cd43df29ab1d9b65 | |
parent | 09fb3f5265ee5fc1e58c427c9666c38918f240a3 (diff) |
Touch config file when symlink updated.
This is so the dev server notices and restarts.
-rwxr-xr-x | bin/switch-site | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/switch-site b/bin/switch-site index c4ca53ca9..bd4be5090 100755 --- a/bin/switch-site +++ b/bin/switch-site @@ -30,6 +30,7 @@ then # Remember that 1st argument is a file path relative to # the file specified in the second argument. ln -sf general-$1.yml conf/general.yml + touch conf/general.yml else echo "File conf/general-$1.yml does not exist." fi |