erlang自动编译与加载
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
2.1 KiB

пре 5 година
пре 5 година
пре 5 година
пре 5 година
пре 5 година
пре 5 година
пре 5 година
пре 5 година
пре 5 година
  1. [
  2. {erlSync, [
  3. {moduleTime, 10000},
  4. {srcDirTime, 10000},
  5. {srcFileTime, 5000},
  6. {compareBeamTime, 2000},
  7. {compareSrcFileTime, 1000},
  8. {file_variables, "-*- mode: compilation; mode: auto-revert; buffer-read-only: true; auto-revert-interval: 0.5 -*-\n\n"},
  9. %% Temp file to write output messages.
  10. {out_file, "/tmp/erlSync.out"},
  11. %% List of modules to be excluded from scanning. While using rebar
  12. %% it's not very useful to specify the excludes here as every
  13. %% get/update-deps will override the settings. Instead specify
  14. %% excluded stuff in the node's config file.
  15. {excluded_modules, []},
  16. %% log: Console notifications
  17. %% valid values: all | none | [success | warnings | errors]
  18. %% default: all
  19. {log, all},
  20. %% non_descendants: How to handle beams whose original source path is
  21. %% not a descendant of the current working directory.
  22. %%
  23. %% valid values: fix | allow | ignore
  24. %% * fix = attempt to find source files under current directory
  25. %% * allow = don't do anything special, use the non-descendant path and
  26. %% watch that file
  27. %% * ignore = don't watch that module at all and ignore any changes to
  28. %% its source path
  29. %% default: fix
  30. {non_descendants, fix},
  31. %% whitelisted_modules: erlSync only these modules
  32. %% default: []
  33. {whitelisted_modules, []},
  34. %% excluded_modules: Ignore any modules listed
  35. %% default: []
  36. {excluded_modules, []},
  37. %% executable: Identify the program that you want run by the "growl" notifications
  38. %% valid values: auto | notifu | 'notify-send' | growlnotify | emacsclient | notification_center
  39. %% * auto = allow erlSync to autodetect which program to run
  40. %% * growlnotify = Use Growl for Mac
  41. %% * notification_center = Use OSX Notification Center
  42. %% * 'notify-send' = Use libnotify for Linux
  43. %% * notifu = The notifu program for Windows
  44. %% * emacsclient = Emacs notifications
  45. %% default: auto
  46. {executable, auto}
  47. ]}
  48. ].