File tree 4 files changed +9
-3
lines changed 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
Changelog
2
2
=========
3
3
4
+ ## v1.1.1 - 2023-09-02
5
+
6
+ - Fixed warning on Elixir v1.15.5.
7
+
4
8
## v1.1.0 - 2021-08-30
5
9
6
10
- ` .heex ` files are now watched by default.
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ defmodule MixTestWatch.Path do
12
12
# Public API
13
13
#
14
14
15
- @ spec watching? ( MixTestWatch.Config . t ( ) , String . t ( ) ) :: boolean
15
+ @ spec watching? ( String . t ( ) , MixTestWatch.Config . t ( ) ) :: boolean
16
16
17
17
def watching? ( path , config \\ % Config { } ) do
18
18
watched_directory? ( path ) and elixir_extension? ( path , config . extra_extensions ) and
Original file line number Diff line number Diff line change @@ -26,14 +26,16 @@ defmodule MixTestWatch.Watcher do
26
26
# Genserver callbacks
27
27
#
28
28
29
- @ spec init ( String . t ( ) ) :: { :ok , % { args: String . t ( ) } }
29
+ @ spec init ( String . t ( ) ) :: { :ok , Keyword . t ( ) }
30
30
31
31
def init ( _ ) do
32
32
opts = [ dirs: [ Path . absname ( "" ) ] , name: :mix_test_watcher ]
33
+
33
34
case FileSystem . start_link ( opts ) do
34
35
{ :ok , _ } ->
35
36
FileSystem . subscribe ( :mix_test_watcher )
36
37
{ :ok , [ ] }
38
+
37
39
other ->
38
40
Logger . warning ( "Could not start the file system monitor." )
39
41
other
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ defmodule MixTestWatch.Mixfile do
2
2
use Mix.Project
3
3
4
4
@ source_url "https://github.com/lpil/mix-test.watch"
5
- @ version "1.1.0 "
5
+ @ version "1.1.1 "
6
6
7
7
def project do
8
8
[
You can’t perform that action at this time.
0 commit comments