Created attachment 154968 [details] add dependency The message generated in lib/listen/adapter/bsd.rb is recommending to install rb-kqueue on Dragonfly and FreeBSD, so I think it's a good idea to just depend on it. A test with jekyll serve --watch shows indeed lower CPU usage and faster respone times when changing a file. If this is not wanted, I would change this PR to add a option for rb-kqueue and personally I'd enable it per default.
A commit references this bug: Author: sunpoet Date: Mon Mar 30 13:48:00 UTC 2015 New revision: 382663 URL: https://svnweb.freebsd.org/changeset/ports/382663 Log: - Use rb-kqueue instead of polling - Bump PORTREVISION for dependency change Reference: https://github.com/guard/listen/blob/master/README.md#on-bsd PR: 199005 Submitted by: <kvedulv@kvedulv.de> Changes: head/devel/rubygem-listen/Makefile
Committed. Thanks!