mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Trying increasing coco-brunch ulimit to deal with brunch sometimes erroring because of too many open files.
This commit is contained in:
parent
9ad4602e0f
commit
39621d5282
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ import sys
|
|||
current_directory = os.path.dirname(os.path.realpath(sys.argv[0]))
|
||||
coco_path = os.getenv("COCO_DIR",os.path.join(current_directory,os.pardir))
|
||||
brunch_path = coco_path + os.sep + "node_modules" + os.sep + ".bin" + os.sep + "brunch"
|
||||
subprocess.Popen("ulimit -n 10000",shell=True)
|
||||
subprocess.Popen("ulimit -n 100000",shell=True)
|
||||
while True:
|
||||
print("Starting brunch. After the first compile, it'll keep running and watch for changes.")
|
||||
call(brunch_path + " w",shell=True,cwd=coco_path)
|
||||
|
|
Loading…
Reference in a new issue