Next: , Previous: , Up: Development   [Contents][Index]


4.5 Invoking hoot repl

The hoot repl tool can be used to start an interactive REPL session running within a NodeJs or connect to a REPL running with a web browser.

The general syntax is:

hoot repl [option ...]

To connect to a REPL in the web browser, run hoot repl --connect.

The available options are documented below.

--load-path=dir
-L dir

Add dir to the front of Hoot’s module load path. The directories are searched in the order given on the command line and before any directories in the HOOT_LOAD_PATH environment variable.

--connect[=port]
-c [port]

Connect to REPL server listening on port or port 37146 if not specified.