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