mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 03:21:20 -05:00
Add package on command line in case it's not installed in a Narwhal packages path.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user