You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

bitty

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitty

Browserify live coding server

0.2.6
Source
npm
Version published
Weekly downloads
13
-75.47%
Maintainers
1
Weekly downloads
 
Created
Source

Bitty(1)

Synopsis

bitty [options] <entries> -- [bundler options]

Description

Starts a local development server that serves all files in the working directory, with the exception of index.js which will be automatically generated by the bundler, the default bundler is browserify but this is configurable.

The server will also watch the files matching a pattern and emit server sent events when these files change.

It can also inject the bundle in the client runtime, the client needs to be able to accept a remote debugging connection on port 9222.

Options

-C, --directory : change the working directory

-W, --watch : specify the file watcher glob pattern

-b, --bundler : specify the bundle command

-p, --port : specify the http port

-h, --host : specify the http hostname

-o, --open : specify a client program to open

-i, --inject : enable bundle injection on file changes

Any options following the seperator -- will be forwarded to the bundler.

Examples

sh bitty --directory assets --open 'google-chrome --remote-debugging-port 9292' --inject -- -t 6to5ify

Keywords

browserify

FAQs

Package last updated on 10 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts