mirror of
https://github.com/woutdp/live_svelte
synced 2026-05-24 09:28:21 +00:00
refactor task run code
This commit is contained in:
parent
5e1b3fa33b
commit
f76ace0654
1 changed files with 1 additions and 4 deletions
|
|
@ -11,10 +11,7 @@ defmodule Mix.Tasks.LiveSvelte.Setup do
|
|||
"configure_phoenix",
|
||||
"configure_esbuild"
|
||||
]
|
||||
|> Enum.map(
|
||||
&(Task.async(fn -> Mix.Task.run("live_svelte." <> &1) end)
|
||||
|> Task.await(:infinity))
|
||||
)
|
||||
|> Enum.each(&Mix.Task.run("live_svelte." <> &1))
|
||||
|
||||
log_success("live_svelte setup finished.")
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue