Permalink
Browse files

Added support for the --require option to enable CoffeeScript (or oth…

…er transcoders) when verifying the file to be run
  • Loading branch information...
1 parent dc4e57e commit 20ca39acff6b772e10db122d0234d1d7c910e4fb @aexmachina aexmachina committed Sep 12, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 bin/up
View
3 bin/up
@@ -87,6 +87,9 @@ if ('/' != file[0]) file = process.cwd() + '/' + file;
// verify we can require
try {
+ for (var i = 0, l = requires.length; i < l; i++) {
+ require(requires[i]);
+ }
server = require(file);
} catch (e) {
error('\n Error requiring supplied module "%s".\n %s\n'

0 comments on commit 20ca39a

Please sign in to comment.