Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/caspervonb/bitty
Use amok instead
https://github.com/caspervonb/bitty
Last synced: about 2 months ago
JSON representation
Use amok instead
- Host: GitHub
- URL: https://github.com/caspervonb/bitty
- Owner: caspervonb
- Created: 2015-02-06T12:52:03.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-24T04:36:53.000Z (almost 10 years ago)
- Last Synced: 2024-08-09T21:19:23.266Z (5 months ago)
- Language: JavaScript
- Homepage: https://github.com/caspervonb/amok
- Size: 391 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.markdown
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 changesAny 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```