2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-25 05:19:04 +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:
gavin 2021-10-20 12:53:34 +05:30 committed by GitHub
commit b9b1d444b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 2 deletions

View File

@ -13,7 +13,8 @@ default_config = {
'frappe_user': getpass.getuser(), 'frappe_user': getpass.getuser(),
'shallow_clone': True, 'shallow_clone': True,
'background_workers': 1, 'background_workers': 1,
'use_redis_auth': False 'use_redis_auth': False,
'live_reload': True
} }
def make_config(bench_path): def make_config(bench_path):

View File

@ -6,3 +6,4 @@ bench.patches.v4.update_socketio
bench.patches.v4.install_yarn #2 bench.patches.v4.install_yarn #2
bench.patches.v5.fix_user_permissions bench.patches.v5.fix_user_permissions
bench.patches.v5.fix_backup_cronjob bench.patches.v5.fix_backup_cronjob
bench.patches.v5.set_live_reload_config

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 +0,0 @@
bench.patches.v3.deprecate_old_config