Skip to content

ajhager/srvi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

SRVi

SRVi is a utility that eases the development of 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

go get -u github.com/ajhager/srvi

Usage

If a custom index file is supplied, you can either add <script src="/app.go.js" type="text/javascript"></script> to your html file, or supply the -endpoint custom.js where 'custom' is whatever name you wish to use.

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

List your go files as arguments!
	-endpoint="app.go.js": The name of the compiled javascript file
	-http="localhost:8080": The host at which to serve
	-index="": The html file to use as an index

About

Quickly build, serve, run, and refresh your GopherJS programs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages