Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
peach-cgt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f937ff
)
set working directory in js wrapper script
author
Jason Woofenden
<jason@jasonwoof.com>
Sat, 18 Feb 2012 19:58:55 +0000
(14:58 -0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Sat, 18 Feb 2012 19:58:55 +0000
(14:58 -0500)
server.js
patch
|
blob
|
history
diff --git
a/server.js
b/server.js
index
251f95a
..
f00e003
100644
(file)
--- a/
server.js
+++ b/
server.js
@@
-1,2
+1,8
@@
+// wrapper to run server.coffee (nodester has trouble starting coffeescript directly)
+
var cs = require('coffee-script');
+
+// make sure the working directory is where this script is
+process.chdir(__dirname);
+
require('./server.coffee');