5HT / fs

📁 FS: Windows, Linux, Mac Driver
https://fs.n2o.dev
Other
235 stars 69 forks source link

Is it possible to silence the warnings from inotifywait on Linux? #22

Closed lpil closed 7 years ago

lpil commented 8 years ago

When I start my application I get a garbled message like so:

Interactive Elixir (1.2.3) - press Ctrl+C to exit (type h() ENTER for help)
Setting up watches.  Beware: since -r was given, this may take a while!
                                                                       Watches established.
       iex(1)>

Is it possible to silence this?

yolk commented 8 years ago

Should work if we add --quiet to the inotifywait call in inotifywait.erl

lpil commented 8 years ago

Is there a way to do this without forking fs to modify the code?

yolk commented 8 years ago

I guess you could add a shell script named inotifywait in your path above /usr/bin/inotifywait that stubs inotifywait and always calls /usr/bin/inotifywait with the quiet-flag. But I think a pull request would be easier and more stable ;)