Add package on command line in case it's not installed in a Narwhal packages path.

This commit is contained in:
tlrobinson
2009-12-28 01:49:07 -08:00
parent 78e08f316d
commit a722b42eed

View File

@@ -20,7 +20,8 @@ Usage:
WATCH_INTERVAL = 0.5
# Command to execute in Narwhal
LAUNCHER = "narwhal -e 'require(\"coffee-script\").run(system.args);'"
PACKAGE = File.dirname(File.dirname(File.dirname(__FILE__)))
LAUNCHER = "narwhal -p #{PACKAGE} -e 'require(\"coffee-script\").run(system.args);'"
# Run the CommandLine off the contents of ARGV.
def initialize