elm-watch throws the following error and terminates its process
21:14:20 Compilation finished in 2.26 s.
-- WATCHER ERROR ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The file watcher encountered an error, which means that it cannot continue.
elm-watch is powered by its file watcher, so I have to exit at this point.
See if this is something you can solve by maybe removing some problematic files
or something!
This is the error message I got:
ENOSPC: System limit for number of file watchers reached, watch '/home/lue/Desktop/some-libraries/some-unrelated-library/.git/objects/87/05073607de7d25a6bcadb660cf7e1b8bfdd447'
watches all the library files and many more within the parent directory of some-libraries and this app's instead of only the relevant ones from only the specified directories.
Current workaround is moving the unpublished library code to the app's directory.
Anyway, much, much love for building elm-watch! 🌈⃤🦋
With a
source-directories
field containing bothsrc
and a distant unpublished libraryelm-watch throws the following error and terminates its process
My uneducated guess is that this function: https://github.com/lydell/elm-watch/blob/9d98d0e0224ee24eb6d55404898cbe45f5ba1e51/src/Project.ts#L460
watches all the library files and many more within the parent directory of
some-libraries
and this app's instead of only the relevant ones from only the specified directories.Current workaround is moving the unpublished library code to the app's directory.
Anyway, much, much love for building
elm-watch
! 🌈⃤🦋