diff --git a/bench/config/common_site_config.py b/bench/config/common_site_config.py index 8f64f541..c8d13db3 100644 --- a/bench/config/common_site_config.py +++ b/bench/config/common_site_config.py @@ -13,7 +13,8 @@ default_config = { 'frappe_user': getpass.getuser(), 'shallow_clone': True, 'background_workers': 1, - 'use_redis_auth': False + 'use_redis_auth': False, + 'live_reload': True } def make_config(bench_path): diff --git a/bench/patches/patches.txt b/bench/patches/patches.txt index 55a65019..da51be2e 100644 --- a/bench/patches/patches.txt +++ b/bench/patches/patches.txt @@ -6,3 +6,4 @@ bench.patches.v4.update_socketio bench.patches.v4.install_yarn #2 bench.patches.v5.fix_user_permissions bench.patches.v5.fix_backup_cronjob +bench.patches.v5.set_live_reload_config \ No newline at end of file diff --git a/bench/patches/v5/set_live_reload_config.py b/bench/patches/v5/set_live_reload_config.py new file mode 100644 index 00000000..4538a6df --- /dev/null +++ b/bench/patches/v5/set_live_reload_config.py @@ -0,0 +1,5 @@ +from bench.config.common_site_config import update_config + + +def execute(bench_path): + update_config({'live_reload': True}, bench_path) diff --git a/patches.txt b/patches.txt deleted file mode 100644 index 8f127fe4..00000000 --- a/patches.txt +++ /dev/null @@ -1 +0,0 @@ -bench.patches.v3.deprecate_old_config