Skip to content

Commit

Permalink
core: let filewatcher ignore changes to log files. Fixes #1588
Browse files Browse the repository at this point in the history
(cherry picked from commit da92c83)
  • Loading branch information
mworrell committed Jan 20, 2017
1 parent f00b977 commit 05b9049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filewatcher/z_filewatcher_handler.erl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

%% Which files do we not consider at all in the file_changed handler
-define(FILENAME_BLACKLIST_RE,
"_flymake|\\.#|/sites/[^/]+/files/|/\\.git/|/\\.gitignore|\\.hg/").
"_flymake|\\.#|/sites/[^/]+/files/|/\\.git/|/\\.gitignore|\\.hg/|/log/\\.log$").


%% @doc Called when a file is changed on disk. Decides what to do.
Expand Down

0 comments on commit 05b9049

Please sign in to comment.