Prevent fs from watching the directory it is started from
Fs by default watches the current working dir when it's started, that would usually be the whole project directory. It's useless in our case so don't do it. Bumped fs to latest version.
This commit is contained in:
parent
0f263d6756
commit
e2a1574f8f
3 changed files with 8 additions and 4 deletions
|
@ -28,3 +28,7 @@ use Mix.Config
|
|||
# here (which is why it is important to import them last).
|
||||
#
|
||||
# import_config "#{Mix.env}.exs"
|
||||
|
||||
config :fs,
|
||||
# Prevent fs from watching the directory it is started from by default
|
||||
backwards_compatible: false
|
||||
|
|
2
mix.exs
2
mix.exs
|
@ -59,7 +59,7 @@ defmodule MBU.Mixfile do
|
|||
defp deps do
|
||||
[
|
||||
{:ex_doc, "~> 0.15.0", only: :dev},
|
||||
{:fs, "~> 2.12.0"}
|
||||
{:fs, "~> 3.4.0"}
|
||||
]
|
||||
end
|
||||
end
|
||||
|
|
6
mix.lock
6
mix.lock
|
@ -1,3 +1,3 @@
|
|||
%{"earmark": {:hex, :earmark, "1.2.0", "bf1ce17aea43ab62f6943b97bd6e3dc032ce45d4f787504e3adf738e54b42f3a", [:mix], []},
|
||||
"ex_doc": {:hex, :ex_doc, "0.15.0", "e73333785eef3488cf9144a6e847d3d647e67d02bd6fdac500687854dd5c599f", [:mix], [{:earmark, "~> 1.1", [hex: :earmark, optional: false]}]},
|
||||
"fs": {:hex, :fs, "2.12.0", "ad631efacc9a5683c8eaa1b274e24fa64a1b8eb30747e9595b93bec7e492e25e", [:rebar3], []}}
|
||||
%{"earmark": {:hex, :earmark, "1.2.0", "bf1ce17aea43ab62f6943b97bd6e3dc032ce45d4f787504e3adf738e54b42f3a", [:mix], [], "hexpm"},
|
||||
"ex_doc": {:hex, :ex_doc, "0.15.0", "e73333785eef3488cf9144a6e847d3d647e67d02bd6fdac500687854dd5c599f", [:mix], [{:earmark, "~> 1.1", [hex: :earmark, repo: "hexpm", optional: false]}], "hexpm"},
|
||||
"fs": {:hex, :fs, "3.4.0", "6d18575c250b415b3cad559e6f97a4c822516c7bc2c10bfbb2493a8f230f5132", [:rebar3], [], "hexpm"}}
|
||||
|
|
Loading…
Reference in a new issue