mirror of
https://github.com/frappe/bench.git
synced 2024-11-16 01:57:08 +00:00
feat: add live_reload
to default_config
This commit is contained in:
parent
e7f69d2b81
commit
9f74ec0adb
@ -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):
|
||||
|
5
bench/patches/v5/set_live_reload_config.py
Normal file
5
bench/patches/v5/set_live_reload_config.py
Normal 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)
|
@ -1 +1,2 @@
|
||||
bench.patches.v3.deprecate_old_config
|
||||
bench.patches.v5.set_live_reload_config
|
||||
|
Loading…
Reference in New Issue
Block a user