# SRVi

SRVi is a utility for quickly testing out [GopherJS](http://github.com/gopherjs/gopherjs) programs in the browser. It will automatically rebuild and serve your project every time you refresh. Quickly try out new ideas without even needing to setup a new index.html every time. 

## Install

```bash
go get -u github.com/ajhager/srvi
```

## Usage

If a custom index file is supplied, add `<script src="/app.go.js" type="text/javascript"></script>` to the end of the `<body>` element.

```
   _______ _   ___
  / __/ _ \ | / (_)
 _\ \/ , _/ |/ / /
/___/_/|_||___/_/  says...

List your go files as arguments!
  -host="127.0.0.1": The host at which to serve
  -index="": The html file to use as an index
  -port=8080: The port at which to serve
```

# SRVi

SRVi is a utility that eases the development of [GopherJS](http://github.com/gopherjs/gopherjs) applications. It will serve and automatically rebuild your project every time you refresh. Quickly try out new ideas without even needing to supply your own index.html.

## Install

```bash
go get -u github.com/ajhager/srvi
```

## Usage

If a custom index file is supplied, add `<script src="/app.go.js" type="text/javascript"></script>` to the end of the `<body>` element.

```
   _______ _   ___
  / __/ _ \ | / (_)
 _\ \/ , _/ |/ / /
/___/_/|_||___/_/  says...

List your go files as arguments!
  -host="127.0.0.1": The host at which to serve
  -index="": The html file to use as an index
  -port=8080: The port at which to serve
```

Rewrite the description of the tool
Rewrite the description of the tool
