Added fresh to project to auto-rebuild changes
This commit is contained in:
parent
8c7d2fd026
commit
afd6ffc3f1
21
.fresh.yaml
Normal file
21
.fresh.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
version: "1"
|
||||
root: .
|
||||
main_path: ""
|
||||
tmp_path: ./tmp
|
||||
build_name: runner-build
|
||||
build_args: ""
|
||||
run_args: ""
|
||||
build_log: runner-build-errors.log
|
||||
valid_ext: .go, .tpl, .tmpl, .html
|
||||
no_rebuild_ext: .tpl, .tmpl, .html
|
||||
ignore: assets/**/*, assets, tmp/*, public/**/*, public, node_modules/**/*, node_modules
|
||||
build_delay: "600"
|
||||
colors: true
|
||||
log_color_main: cyan
|
||||
log_color_build: yellow
|
||||
log_color_runner: green
|
||||
log_color_watcher: magenta
|
||||
log_color_app: ""
|
||||
delve: false
|
||||
delve_args: ""
|
||||
debug: false
|
5
.gitignore
vendored
5
.gitignore
vendored
@ -16,7 +16,10 @@
|
||||
*.out
|
||||
|
||||
# Dependency directories (remove the comment below to include it)
|
||||
# vendor/
|
||||
vendor/
|
||||
|
||||
# Temporary directory created by fresh
|
||||
tmp/
|
||||
|
||||
# Go workspace file
|
||||
go.work
|
||||
|
@ -1,6 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"github.com/flamego/flamego"
|
||||
@ -28,5 +29,7 @@ func main() {
|
||||
t.HTML(http.StatusOK, "index")
|
||||
})
|
||||
|
||||
fmt.Println("test!!?")
|
||||
|
||||
f.Run()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user