Skip to content

Commit f17fc8b

Browse files
Add note on mix listener messages catch-all (#13918)
1 parent 860f485 commit f17fc8b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/mix/lib/mix/task.compiler.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ defmodule Mix.Task.Compiler do
8383
with `System.pid/0` to determine if compilation happened in
8484
the same OS process as the listener.
8585
86+
New messages may be added in the future, so the process should have
87+
a catch-all clause and ignore other messages.
88+
8689
Note that the listener starts before any of the project apps are started.
8790
"""
8891

0 commit comments

Comments
 (0)