Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
peach-cgt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
set working directory in js wrapper script
[peach-cgt.git]
/
server.js
1
// wrapper to run server.coffee (nodester has trouble starting coffeescript directly)
2
3
var cs = require('coffee-script');
4
5
// make sure the working directory is where this script is
6
process.chdir(__dirname);
7
8
require('./server.coffee');