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

[
{erlSync, [
{moduleTime, 10000},
{srcDirTime, 10000},
{srcFileTime, 5000},
{compareBeamTime, 2000},
{compareSrcFileTime, 1000},
{file_variables, "-*- mode: compilation; mode: auto-revert; buffer-read-only: true; auto-revert-interval: 0.5 -*-\n\n"},
%% Temp file to write output messages.
{out_file, "/tmp/erlSync.out"},
%% List of modules to be excluded from scanning. While using rebar
%% it's not very useful to specify the excludes here as every
%% get/update-deps will override the settings. Instead specify
%% excluded stuff in the node's config file.
{excluded_modules, []},
%% log: Console notifications
%% valid values: all | none | [success | warnings | errors]
%% default: all
{log, all},
%% non_descendants: How to handle beams whose original source path is
%% not a descendant of the current working directory.
%%
%% valid values: fix | allow | ignore
%% * fix = attempt to find source files under current directory
%% * allow = don't do anything special, use the non-descendant path and
%% watch that file
%% * ignore = don't watch that module at all and ignore any changes to
%% its source path
%% default: fix
{non_descendants, fix},
%% whitelisted_modules: erlSync only these modules
%% default: []
{whitelisted_modules, []},
%% excluded_modules: Ignore any modules listed
%% default: []
{excluded_modules, []},
%% executable: Identify the program that you want run by the "growl" notifications
%% valid values: auto | notifu | 'notify-send' | growlnotify | emacsclient | notification_center
%% * auto = allow erlSync to autodetect which program to run
%% * growlnotify = Use Growl for Mac
%% * notification_center = Use OSX Notification Center
%% * 'notify-send' = Use libnotify for Linux
%% * notifu = The notifu program for Windows
%% * emacsclient = Emacs notifications
%% default: auto
{executable, auto}
]}
].