diff options
author | skyblue <ssx205@gmail.com> | 2014-04-07 14:14:17 +0800 |
---|---|---|
committer | skyblue <ssx205@gmail.com> | 2014-04-07 14:14:17 +0800 |
commit | 125c87a405a689c37a3f3d0dede23d74c1581a81 (patch) | |
tree | 92f5dc3f7878f70362bf7a19a4d366e22c4fbe58 | |
parent | 583f11f27cb6d5d04a5198c6d4514a4da3cae92a (diff) | |
download | gitea-125c87a405a689c37a3f3d0dede23d74c1581a81.tar.gz gitea-125c87a405a689c37a3f3d0dede23d74c1581a81.zip |
update fswatch.json
-rw-r--r-- | .fswatch.json | 11 | ||||
-rw-r--r-- | web.go | 2 |
2 files changed, 3 insertions, 10 deletions
diff --git a/.fswatch.json b/.fswatch.json index 81243ebc3f..90a6e4eae7 100644 --- a/.fswatch.json +++ b/.fswatch.json @@ -1,14 +1,7 @@ { "paths": ["."], "depth": 2, - "exclude": [ - "^gogs$", - "~$", - "\\.swp$", - "\\.exe$", - "\\.swx$", - ".*\\.log$" - ], + "exclude": [], "include": ["\\.go$"], "command": [ "bash", "-c", "go build && ./gogs web" @@ -16,5 +9,5 @@ "env": { "POWERED_BY": "github.com/shxsun/fswatch" }, - "enable-restart": false + "enable-restart": true } @@ -147,7 +147,7 @@ func runWeb(*cli.Context) { r.Get("/issues", repo.Issues) r.Get("/issues/:index", repo.ViewIssue) r.Get("/releases", repo.Releases) - r.Any("/releases/new",repo.ReleasesNew) + r.Any("/releases/new", repo.ReleasesNew) r.Get("/pulls", repo.Pulls) r.Get("/branches", repo.Branches) }, ignSignIn, middleware.RepoAssignment(true)) |