JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fix get/set url generation/parsing
[peach-cgt.git] / server.js
index 251f95a..ece288b 100644 (file)
--- a/server.js
+++ b/server.js
@@ -1,2 +1,14 @@
+// wrapper to run server.coffee (nodester has trouble starting coffeescript directly)
+
+console.log('starting');
+
 var cs = require('coffee-script');
+
+console.log('required coffee-script');
+
+// make sure the working directory is where this script is
+process.chdir(__dirname);
+
+console.log('chdir done');
+
 require('./server.coffee');