From 7942bdd3c1e3047fc40473d329c46af4bfd863c3 Mon Sep 17 00:00:00 2001 From: Ian Melnick Date: Wed, 29 Oct 2014 21:48:24 -0500 Subject: [PATCH 1/3] Be explicit about ignore paths --- .gitignore | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1c02836..74a248c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -node_modules -bower_components +/node_modules +/bower_components +/npm-debug.log .DS_Store -npm-debug.log From 0fb0f6f995c5702700a8f800083bdbb6e425e32e Mon Sep 17 00:00:00 2001 From: Ian Melnick Date: Wed, 29 Oct 2014 21:48:52 -0500 Subject: [PATCH 2/3] These files should not be executable? --- public/js/bundle.js | 0 public/js/vendor.js | 0 2 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 public/js/bundle.js mode change 100755 => 100644 public/js/vendor.js diff --git a/public/js/bundle.js b/public/js/bundle.js old mode 100755 new mode 100644 diff --git a/public/js/vendor.js b/public/js/vendor.js old mode 100755 new mode 100644 From 9248c7e2f081184b3a12bdee5c2a4c327248124f Mon Sep 17 00:00:00 2001 From: Ian Melnick Date: Wed, 29 Oct 2014 22:14:18 -0500 Subject: [PATCH 3/3] The "watch" task causes server to stop ... At least, in my case. A bug to be fixed in the future, maybe. For now, I just want to use the project to func-test the API. --- README.md | 5 +++++ package.json | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8219eab..ab12325 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,11 @@ We have included in this repository a client you can run to visualize and test a * do npm start in the passport home directory * visit http://localhost:3333 +If you do end up making edits, consider making use of gulp's live-reload +feature. Use ``npm run-script watch`` as an alternative to ``npm start``. +N.B.: "watch" terminates early with node 0.10.18 / npm 1.3.8, and latest +versions of dependencies. + ## API specification ####POST /api/timeslots - create a timeslot diff --git a/package.json b/package.json index ba881c7..c2887c8 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,10 @@ { "name": "passport", - "version": "0.0.1", + "version": "0.0.2", "private": true, "scripts": { - "start": "./node_modules/gulp/bin/gulp.js watch", + "start": "./node_modules/gulp/bin/gulp.js server", + "watch": "./node_modules/gulp/bin/gulp.js watch", "build": "./node_modules/gulp/bin/gulp.js build", "postinstall": "./node_modules/bower/bin/bower install" },