Skip to content

Commit 3e7e770

Browse files
committed
Fix mix_test_watch env
1 parent 77cefc5 commit 3e7e770

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mix.exs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ defmodule ElixirScript.MixProject do
1212
plt_add_apps: [:mix],
1313
plt_core_path: "priv/plts/core.plt",
1414
plt_local_path: "priv/plts/project.plt"
15-
]
15+
],
16+
preferred_cli_env: ["test.watch": :test]
1617
]
1718
end
1819

@@ -28,7 +29,7 @@ defmodule ElixirScript.MixProject do
2829
{:credo, "~> 1.6", only: [:dev, :test], runtime: false},
2930
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
3031
{:jason, "~> 1.4"},
31-
{:mix_test_watch, "~> 1.0", only: :dev, runtime: false}
32+
{:mix_test_watch, "~> 1.0", only: [:dev, :test], runtime: false}
3233
]
3334
end
3435
end

0 commit comments

Comments
 (0)