Skip to content

ogadaki/amok

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Amok(1)

tips chat npm

Live Editing JavaScript with Amok YouTube Video Introduction Article

Synopsis

amok [options] <script>

Description

Amok is a command line tool for rapid prototyping and development of applications written in JavaScript targeting the browser.

Edit your code live with realtime feedback, without having to reload reload or loose your application state.

Amok also can also process your application through a compilation and bundling process 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.
    
--no-browser
  disable browser spawning
    
--no-bundler
  disable bundling

--no-debugger
  disable remote debugger

Any extra arguments will be passed along with the invocation to BUNDLER, use -- to terminate argument parsing.

Environment Variables

BROWSER
  When set to a executable, will be opened after the server has started.

BUNDLER
  When set to an executable, will be used to bundle scripts.

About

Command line tool for rapid prototyping and development of applications written in JavaScript targeting the browser.

Resources

Stars

Watchers

Forks

Packages

No packages published