run-dev: Clean repo first

Makes sense because test-all has the same behavior.

(imported from commit 4c4e5ed539bf36fbb5f298abc40f4718dd9a93f1)
This commit is contained in:
Keegan McAllister 2013-03-25 18:21:39 -04:00
parent ba35dd8a77
commit ae45217671
1 changed files with 3 additions and 0 deletions

View File

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