Skip to content

Commit f5235c2

Browse files
committed
v1.1.1
1 parent 298d5db commit f5235c2

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Changelog
22
=========
33

4+
## v1.1.1 - 2023-09-02
5+
6+
- Fixed warning on Elixir v1.15.5.
7+
48
## v1.1.0 - 2021-08-30
59

610
- `.heex` files are now watched by default.

lib/mix_test_watch/path.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ defmodule MixTestWatch.Path do
1212
# Public API
1313
#
1414

15-
@spec watching?(MixTestWatch.Config.t(), String.t()) :: boolean
15+
@spec watching?(String.t(), MixTestWatch.Config.t()) :: boolean
1616

1717
def watching?(path, config \\ %Config{}) do
1818
watched_directory?(path) and elixir_extension?(path, config.extra_extensions) and

lib/mix_test_watch/watcher.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,16 @@ defmodule MixTestWatch.Watcher do
2626
# Genserver callbacks
2727
#
2828

29-
@spec init(String.t()) :: {:ok, %{args: String.t()}}
29+
@spec init(String.t()) :: {:ok, Keyword.t()}
3030

3131
def init(_) do
3232
opts = [dirs: [Path.absname("")], name: :mix_test_watcher]
33+
3334
case FileSystem.start_link(opts) do
3435
{:ok, _} ->
3536
FileSystem.subscribe(:mix_test_watcher)
3637
{:ok, []}
38+
3739
other ->
3840
Logger.warning("Could not start the file system monitor.")
3941
other

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ defmodule MixTestWatch.Mixfile do
22
use Mix.Project
33

44
@source_url "https://github.com/lpil/mix-test.watch"
5-
@version "1.1.0"
5+
@version "1.1.1"
66

77
def project do
88
[

0 commit comments

Comments
 (0)