mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 10:56:53 -05:00
Fixed the dev server script to reload when server_setup.coffee changes.
This commit is contained in:
parent
d146febb32
commit
4532de9980
1 changed files with 1 additions and 1 deletions
|
@ -8,5 +8,5 @@ current_directory = os.path.dirname(os.path.realpath(sys.argv[0]))
|
||||||
coco_path = os.getenv("COCO_DIR",os.path.join(current_directory,os.pardir))
|
coco_path = os.getenv("COCO_DIR",os.path.join(current_directory,os.pardir))
|
||||||
nodemon_path = coco_path + os.sep + "node_modules" + os.sep + ".bin" + os.sep + "nodemon"
|
nodemon_path = coco_path + os.sep + "node_modules" + os.sep + ".bin" + os.sep + "nodemon"
|
||||||
|
|
||||||
call(nodemon_path + " . --ext \".coffee|.js\" --watch server --watch app.js --watch server_config.js",shell=True,cwd=coco_path)
|
call(nodemon_path + " . --ext \".coffee|.js\" --watch server --watch app.js --watch server_config.js --watch server_setup.coffee",shell=True,cwd=coco_path)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue