webpack: Use the correct port in Casper tests.

Previously we used 9994 unconditionally, whereas we should be using
9984 or 9994 depending whether it's being run manually or via the
Casper tests.
This commit is contained in:
Tim Abbott
2016-04-12 19:19:56 -07:00
parent 47879c5e00
commit 98d5f64f36
2 changed files with 17 additions and 8 deletions

View File

@@ -74,7 +74,7 @@ os.setpgrp()
# Pass --nostatic because we configure static serving ourselves in
# zulip/urls.py.
cmds = [['./tools/compile-handlebars-templates', 'forever'],
['./tools/webpack', 'watch'],
['./tools/webpack', '--watch', '--port', str(webpack_port)],
['python', 'manage.py', 'rundjango'] +
manage_args + ['localhost:%d' % (django_port,)],
['python', 'manage.py', 'runtornado'] +