2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-28 06:49:06 +00:00

feat: add live_reload to default_config

This commit is contained in:
Pruthvi Patel 2021-10-18 16:29:05 +05:30
parent e7f69d2b81
commit 9f74ec0adb
3 changed files with 8 additions and 1 deletions

View File

@ -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):

View File

@ -0,0 +1,5 @@
from bench.config.common_site_config import update_config
def execute(bench_path):
update_config({'live_reload': True}, bench_path)

View File

@ -1 +1,2 @@
bench.patches.v3.deprecate_old_config
bench.patches.v5.set_live_reload_config