[fix] dont watch in CI

This commit is contained in:
Rushabh Mehta 2017-08-10 11:58:57 +05:30
parent e42df8a180
commit c445047d1c

View file

@ -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)