Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pandoc.ex9
-rw-r--r--lib/pandoc/watcher.ex1
2 files changed, 0 insertions, 10 deletions
diff --git a/lib/pandoc.ex b/lib/pandoc.ex
index ec5ce70..57606da 100644
--- a/lib/pandoc.ex
+++ b/lib/pandoc.ex
@@ -4,11 +4,6 @@ defmodule Pandoc do
"""
def run(profile, ["--watch" | dirs]) do
- IO.puts("""
-
- Pandoc watcher starting, env: #{Application.get_env(:pandoc, profile) |> inspect(pretty: true)}
- """)
-
ref =
__MODULE__.Supervisor
|> Supervisor.start_child(
@@ -51,10 +46,6 @@ defmodule Pandoc do
)
end)
- IO.puts("""
- System command running: #{inspect(Enum.join(["pandoc" | args ++ extra_args], " "))}
- """)
-
"pandoc" |> System.cmd(args ++ extra_args, opts) |> elem(1)
end
end
diff --git a/lib/pandoc/watcher.ex b/lib/pandoc/watcher.ex
index e5439f6..c67ae26 100644
--- a/lib/pandoc/watcher.ex
+++ b/lib/pandoc/watcher.ex
@@ -23,7 +23,6 @@ defmodule Pandoc.Watcher do
end
def handle_info({:file_event, watcher_pid, :stop}, %{watcher_pid: watcher_pid} = state) do
- # Your own logic when monitor stop
{:noreply, state}
end
end