Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .bra.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[run]
init_cmds = [["go", "build"], ["./blockform"]]
watch_all = true
watch_dirs = [
"$WORKDIR/"
]
watch_exts = [".go", ".html"]
ignore = [".git"]

# Minimal interval to Trigger build event
build_delay = 2000

cmds = [["go", "build"], ["./blockform"]]
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,10 @@ Get, build and run:
go get github.com/WeTrustPlatform/blockform
cd $GOPATH/src/github.com/WeTrustPlatform/blockform
go build && ./blockform


### Development
- (Optional) Use [bra](https://github.com/Unknwon/bra) to auto rebuild and restart server when you make changes in `*.go` and `*.html` files:
* `go get github.com/Unknwon/bra`
* `bra run`
* Happy coding