Skip to content

Commit

Permalink
Ensure deps are loaded before starting Phoenix
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim authored Jul 26, 2017
1 parent 10b6c1e commit bb6c5cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mix/tasks/phx.digest.ex
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ defmodule Mix.Tasks.Phx.Digest do
input_path = List.first(args) || @default_input_path
output_path = opts[:output] || input_path

Mix.Task.run "deps.loadpaths", args
{:ok, _} = Application.ensure_all_started(:phoenix)

case Phoenix.Digester.compile(input_path, output_path) do
Expand Down

0 comments on commit bb6c5cc

Please sign in to comment.