This reverts commit d6e39658ae. Apparently this is broken on macOS so it's not something we can make use of.
d6e39658ae