hakyll icon indicating copy to clipboard operation
hakyll copied to clipboard

site watch doesn't work with symlinks

Open carymrobbins opened this issue 9 years ago • 3 comments

Stack Resolver lts-6.27 GHC 7.10.3 Hakyll 4.8.3.2 Mac OSX El Capitan 10.11.4

If you have a directory symlinked, the hakyll file system watcher doesn't seem to catch changes within that directory.

carymrobbins avatar Jan 04 '17 20:01 carymrobbins

I have a symlinked directory, and real files within it seem to work fine with watch; however symlinks (e.g. to markdown posts don't)

karlicoss avatar Apr 22 '19 20:04 karlicoss

Also I guess related to this https://github.com/haskell-fswatch/hfsnotify/issues/87

karlicoss avatar Aug 24 '19 19:08 karlicoss

I've ended up compensating it by a companion script that watches over referrents and updates the symlinks, so hakyll notices it and rebuilds. Here is how I run it altogether.

karlicoss avatar Nov 24 '19 14:11 karlicoss