mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-01-14 17:27:59 -05:00
implementing the Node REPL.
This commit is contained in:
@@ -116,7 +116,7 @@ Usage:
|
||||
|
||||
# Use Narwhal to run an interactive CoffeeScript session.
|
||||
def launch_repl
|
||||
exec "#{LAUNCHER}"
|
||||
exec "node #{ROOT}/lib/coffee_script/repl.js"
|
||||
rescue Errno::ENOENT
|
||||
puts "Error: Node.js must be installed to use the interactive REPL."
|
||||
exit(1)
|
||||
|
||||
Reference in New Issue
Block a user