gin-tonic
v0.5.0
Published
ship sync and hot reloading for urbit development
Readme
gin and tonic
Two companions making sail development much nicer.
gin: a utility for syncing files from a repository to a clay desk and committing on save.
tonic: a library which auto refreshes your sail page on commit
getting started
- First you should install
gin:npm i -g gin-tonic - Next run
gin addto add a workspace which will be used to sync your files from your repository to the Urbit you're working on and commit. - Then run
gin pourto add the tonic library to your Urbit. - Integrate tonic into your gall application by wrapping your gall agent:
/+ tonic ... %- agent:tonic |_ =bowl:gall ... - Include tonic's script in each sail page:
/+ tonic
...
;head
...
;+ (inject:tonic q.byk.bowl)
==- Finally run
gin watchand pick your workspace. Gin will run until cancelled syncing your changes. - Sip and enjoy!
