From 5d4f5cd97df0a3472dd40c186bb23c64395c7ab5 Mon Sep 17 00:00:00 2001 From: dpen2000 Date: Sat, 3 May 2014 18:39:14 -0400 Subject: [PATCH] Change dev server to watch app/schemas The previous app.js watch wasn't working and we probably only need to see changes in schemas because server code depend on these --- bin/coco-dev-server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/coco-dev-server b/bin/coco-dev-server index c76923672..e30367130 100755 --- a/bin/coco-dev-server +++ b/bin/coco-dev-server @@ -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)) 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 --watch server_setup.coffee",shell=True,cwd=coco_path) +call(nodemon_path + " . --ext \".coffee|.js\" --watch server --watch server_config.js --watch server_setup.coffee --watch app" + os.sep + "schemas",shell=True,cwd=coco_path)