Amok(1)
Synopsis
amok [options] <script>
Description
Amok is a command line debugging and rapid prototyping tool for JavaScript applications.
Edit your application code live with realtime feedback, without having to reload the browser, keeping the application state intact.
It can also process your application through a compiler or other preprocessor like browserify, typescript, coffeescript or babel.
export BROWSER="google-chrome --remote-debugging-port=9222"
export BUNDLER="watchify"
amok myapp.js
Options
-h, --host <HOST>
specify the http host, default HOST is localhost.
-p, --port <PORT>
specify the http port, default PORT is 9966.
-H, --debugger-host <HOST>
specify the remote debugger host, default HOST is localhost.
-P, --debugger-port <PORT>
specify the remote debugger port, default PORT is 9222.
-v, --verbose
enable verbose logging mode
--no-browser
disable browser spawning
--no-bundler
disable bundling
--no-debugger
disable remote debugger
Any extra arguments following the --
terminator, will be passed along with the invocation to the source bundler if one is specified.
Environment Variables
AMOK_BROWSER
When set to a executable, will be opened after the server has started.
AMOK_BUNDLER
When set to an executable, will be used to bundle scripts.