Commit c202e2aa by Dave St.Germain

Merge pull request #3177 from edx/dcs/paver-one-watcher

Fixes potential 'too many open files error' when running all servers.
parents 04896287 7d38c493
......@@ -119,9 +119,9 @@ def run_all_servers(options):
if not fast:
for system in ['lms', 'studio']:
args = [system, '--settings={}'.format(settings), '--skip-collect', '--watch']
args = [system, '--settings={}'.format(settings), '--skip-collect']
call_task('pavelib.assets.update_assets', args=args)
call_task('pavelib.assets.watch_assets', options={'background': True})
run_multi_processes([
django_cmd('lms', settings, 'runserver', '--traceback', '--pythonpath=.', "0.0.0.0:{}".format(DEFAULT_PORT['lms'])),
django_cmd('studio', settings, 'runserver', '--traceback', '--pythonpath=.', "0.0.0.0:{}".format(DEFAULT_PORT['studio'])),
......
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