diff --git a/lib/coffee_script/command_line.rb b/lib/coffee_script/command_line.rb index fda98af6..fe5898d2 100644 --- a/lib/coffee_script/command_line.rb +++ b/lib/coffee_script/command_line.rb @@ -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