.fswatch.json 369 B

1234567891011121314151617181920
  1. {
  2. "paths": ["."],
  3. "depth": 2,
  4. "exclude": [
  5. "^gogs$",
  6. "~$",
  7. "\\.swp$",
  8. "\\.exe$",
  9. "\\.swx$",
  10. ".*\\.log$"
  11. ],
  12. "include": ["\\.go$"],
  13. "command": [
  14. "bash", "-c", "go build && ./gogs web"
  15. ],
  16. "env": {
  17. "POWERED_BY": "github.com/shxsun/fswatch"
  18. },
  19. "enable-restart": false
  20. }