mirror of
https://github.com/frappe/bench.git
synced 2024-11-12 08:16:28 +00:00
Merge pull request #1205 from resilient-tech/add-live-reload
feat: add `live_reload` to default `common_site_config`
This commit is contained in:
commit
b9b1d444b1
@ -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):
|
||||
|
@ -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
|
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 +0,0 @@
|
||||
bench.patches.v3.deprecate_old_config
|
Loading…
Reference in New Issue
Block a user