mirror of https://github.com/zulip/zulip.git
run-dev: Clean repo first
Makes sense because test-all has the same behavior. (imported from commit 4c4e5ed539bf36fbb5f298abc40f4718dd9a93f1)
This commit is contained in:
parent
ba35dd8a77
commit
ae45217671
|
@ -42,6 +42,9 @@ proxy_host = 'localhost:%d' % (proxy_port,)
|
||||||
|
|
||||||
os.chdir(path.join(path.dirname(__file__), '..'))
|
os.chdir(path.join(path.dirname(__file__), '..'))
|
||||||
|
|
||||||
|
# Clean up stale .pyc files etc.
|
||||||
|
subprocess.check_call('./tools/clean-repo')
|
||||||
|
|
||||||
# Set up a new process group, so that we can later kill run{server,tornado}
|
# Set up a new process group, so that we can later kill run{server,tornado}
|
||||||
# and all of the processes they spawn.
|
# and all of the processes they spawn.
|
||||||
os.setpgrp()
|
os.setpgrp()
|
||||||
|
|
Loading…
Reference in New Issue