You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

.bra.toml 1.2 kB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
123456789101112131415161718192021222324252627282930313233343536
  1. [run]
  2. init_cmds = [ # Commands run in start
  3. ["go", "mod", "vendor"],
  4. ["make", "backend"],
  5. ["./opendata"]
  6. ]
  7. watch_all = true # Watch all sub-directories
  8. watch_dirs = [
  9. "$WORKDIR/routers",
  10. "$WORKDIR/services",
  11. "$WORKDIR/modules",
  12. "$WORKDIR/models",
  13. "$WORKDIR/cmd",
  14. "$WORKDIR/options",
  15. "$WORKDIR/public",
  16. "$WORKDIR/custom",
  17. "$WORKDIR/web_src",
  18. "$WORKDIR/vendor",
  19. ] # Directories to watch
  20. watch_exts = [".go", ".ini", ".less"] # Extensions to watch
  21. env_files = [] # Load env vars from files
  22. ignore = [".git", "node_modules"] # Directories to exclude from watching
  23. ignore_files = [] # Regexps for ignoring specific notifies
  24. follow_symlinks = false # Enable/disable following symbolic links of sub directories
  25. build_delay = 3000 # Minimal interval to Trigger build event
  26. interrupt_timout = 15 # Time to wait until force kill
  27. graceful_kill = false # Wait for exit and before directly kill
  28. cmds = [ # Commands to run
  29. ["go", "mod", "vendor"],
  30. ["make", "backend"],
  31. ["./opendata"]
  32. ]
  33. [sync]
  34. listen_addr = ":5050"
  35. remote_addr = ":5050"