Commit 3f63fedc authored by Pietro Albini's avatar Pietro Albini

Don't run invoke commands under a PTY

Running them under a PTY makes the build log a big bad mess
parent 98b94346
......@@ -116,15 +116,15 @@ def assets(ctx, watch=False):
# Be sure to have all the dependencies installed
if not os.path.exists(node_bin):
invoke.run("yarn", pty=True)
invoke.run("yarn")
if watch:
try:
invoke.run("%s/gulp watch" % node_bin, pty=True)
invoke.run("%s/gulp watch" % node_bin)
except KeyboardInterrupt:
pass
else:
invoke.run("%s/gulp" % node_bin, pty=True)
invoke.run("%s/gulp" % node_bin)
@invoke.task(pre=[assets])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment