Skip to content

Nikoshi/IFW

Repository files navigation

IFW Configurable File Watch

Configurable file watcher using Kotlin. Configurable via Hoplite / HOCON.

Building

./gradlew build

Running

./gradlew run

Creating shadow jar for using with java -jar

./gradlew shadowJar

The shadow jar will be generated in the folder build/libs/.

TO-DO [5/9]

  • [X] Add config option to choose between timestamp-based and hash-based
  • [X] Refactor src/main/kotlin/config/Config.kt
  • [X] Add logging utility
  • [X] Change loadConfig to load config from argument or if no argument passed, from default config
  • [X] Add KDoc comments
  • [ ] Update only once if multiple files from watcher are changed simultaneously
  • [ ] Fix Failed to create WindowsAnsiOutputStream Error on Windows
  • [ ] Add Patterns for filesToWatch
  • [ ] Restart watchers on config change
  • [ ] Finish implementation of hash based check
  • [ ] May abort if no config is passed as an argument
  • [ ] Add CI/CD

About

IFW - Configurable File Watcher

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages