From e2f9e78af8c6de43ea4a51fa89ce65e80de9a9fa Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 7 Nov 2013 17:32:17 +0530 Subject: [PATCH] [minor] build after update --- wnf.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wnf.py b/wnf.py index 8a594788d3..1291daa198 100755 --- a/wnf.py +++ b/wnf.py @@ -258,6 +258,8 @@ def update(remote=None, branch=None, site=None): # maybe there are new framework changes, any consequences? reload(webnotes) + + if not site: build() latest(site=site) @@ -307,6 +309,10 @@ def patch(patch_module, site=None, force=False): @cmd def update_all_sites(remote=None, branch=None, verbose=True): pull(remote, branch) + + # maybe there are new framework changes, any consequences? + reload(webnotes) + build() for site in get_sites(): latest(site=site, verbose=verbose)