Skip to content

Commit

Permalink
Allow running phx.digest task multiple times (#5753)
Browse files Browse the repository at this point in the history
  • Loading branch information
chulkilee authored Mar 19, 2024
1 parent f17c2c1 commit 1312123
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/mix/tasks/phx.digest.ex
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ defmodule Mix.Tasks.Phx.Digest do
@doc false
def run(all_args) do
# Ensure all compressors are compiled.
Mix.Task.run "compile", all_args
Mix.Task.run("compile", all_args)
Mix.Task.reenable("phx.digest")

{:ok, _} = Application.ensure_all_started(:phoenix)

{opts, args, _} = OptionParser.parse(all_args, switches: @switches, aliases: [o: :output])
Expand Down

0 comments on commit 1312123

Please sign in to comment.