# trapperkeeper-filesystem-watcher **Repository Path**: mirrors_puppetlabs/trapperkeeper-filesystem-watcher ## Basic Information - **Project Name**: trapperkeeper-filesystem-watcher - **Description**: Trapperkeeper filesystem watcher service. https://tickets.puppetlabs.com/browse/TK - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-18 - **Last Updated**: 2026-04-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # trapperkeeper-filesystem-watcher This library includes a [Trapperkeeper](https://github.com/puppetlabs/trapperkeeper) service which provides an API for watching paths on the filesystem for changes and doing something when they change. ## Usage Add the following dependency to your project.clj file: [![Clojars Project](https://img.shields.io/clojars/v/puppetlabs/trapperkeeper-filesystem-watcher.svg)](https://clojars.org/puppetlabs/trapperkeeper-filesystem-watcher) ## Development [![Build Status](https://travis-ci.org/puppetlabs/trapperkeeper-filesystem-watcher.svg?branch=master)](https://travis-ci.org/puppetlabs/trapperkeeper-filesystem-watcher) The service implementation in this repository is based on java.nio's [`WatchService`](https://docs.oracle.com/javase/8/docs/api/java/nio/file/WatchService.html). The default implementation of that interface varies drastically in behavior between certain platforms, especially Mac OSX and Linux. The Trapperkeeper service protocol in this repository is consciously written in a platform-agnostic way. When working on this code, it is often a good idea to run the tests on multiple platforms as part of development - say, if you write code on a Mac, run the tests on a Linux VM as well. This is can save you the pain of finding out that things don't work as expected due to platform-specific differences in the implementation of the JDK's `WatchService` once your new code gets into CI. ## Contributing & Support Bug reports and feature requests are welcome via GitHub issues. For interactive questions feel free to post to #puppet or #puppet-dev on the Puppet Community Slack channel. Contributions are welcome at https://github.com/puppetlabs/trapperkeeper-filesystem-watcher/pulls. Contributors should both be sure to read the contributing document and sign the contributor license agreement. Everyone interacting with the project’s codebase, issue tracker, etc is expected to follow the code of conduct.