Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/caspervonb/bitty

Use amok instead
https://github.com/caspervonb/bitty

Last synced: about 2 months ago
JSON representation

Use amok instead

Awesome Lists containing this project

README

        

# Bitty(1)

## Synopsis
```bitty [options] -- [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```