Skip to content

Commit

Permalink
Add note on mix listener messages catch-all (#13918)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko authored Oct 21, 2024
1 parent 860f485 commit f17fc8b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/mix/lib/mix/task.compiler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ defmodule Mix.Task.Compiler do
with `System.pid/0` to determine if compilation happened in
the same OS process as the listener.
New messages may be added in the future, so the process should have
a catch-all clause and ignore other messages.
Note that the listener starts before any of the project apps are started.
"""

Expand Down

0 comments on commit f17fc8b

Please sign in to comment.