From c445047d1c330dc6d16d76755f976aff491bf8bc Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 10 Aug 2017 11:58:57 +0530 Subject: [PATCH] [fix] dont watch in CI --- frappe/commands/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frappe/commands/utils.py b/frappe/commands/utils.py index 74da084beb..219cdc9898 100644 --- a/frappe/commands/utils.py +++ b/frappe/commands/utils.py @@ -18,6 +18,8 @@ def build(make_copy=False, verbose=False): @click.command('watch') def watch(): "Watch and concatenate JS and CSS files as and when they change" + if os.environ.get('CI'): + return import frappe.build frappe.init('') frappe.build.watch(True)