Skip to content

Commit

Permalink
feat: add live_reload to default_config
Browse files Browse the repository at this point in the history
  • Loading branch information
pruthvi145 committed Oct 18, 2021
1 parent e7f69d2 commit 9f74ec0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bench/config/common_site_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
'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):
Expand Down
5 changes: 5 additions & 0 deletions bench/patches/v5/set_live_reload_config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from bench.config.common_site_config import update_config


def execute(bench_path):
update_config({'live_reload': True}, bench_path)
1 change: 1 addition & 0 deletions patches.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
bench.patches.v3.deprecate_old_config
bench.patches.v5.set_live_reload_config

0 comments on commit 9f74ec0

Please sign in to comment.