Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
Builds with buffalo dev drop sqlite tag on syntax error fixes #1302 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
markbates authored Sep 28, 2018
1 parent 5923cab commit bfe7fc4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions buffalo/cmd/dev.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,9 @@ func startDevServer(ctx context.Context) error {

app := meta.New(".")
bt := app.BuildTags("development")
var tf []string
for _, b := range bt {
tf = append(tf, "-tags", b)
if len(bt) > 0 {
c.BuildFlags = append(c.BuildFlags, "-tags", bt.String())
}
c.BuildFlags = append(c.BuildFlags, tf...)
r := refresh.NewWithContext(c, ctx)
return r.Start()
}
Expand Down

0 comments on commit bfe7fc4

Please sign in to comment.