Skip to content

Commit 9902395

Browse files
committed
Rename to beholder
1 parent 1e4656c commit 9902395

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
# directory-watcher
1+
# Beholder
22

3-
[![Clojars Project](https://img.shields.io/clojars/v/com.nextjournal/directory-watcher.svg)](https://clojars.org/com.nextjournal/directory-watcher)
3+
[![Clojars Project](https://img.shields.io/clojars/v/com.nextjournal/beholder.svg)](https://clojars.org/com.nextjournal/beholder)
44

55
The Clojure directory watcher from
66
[krell](https://github.com/vouch-opensource/krell/) as a standalone
77
library.
88

9+
![Beholder Logo](https://cdn.nextjournal.com/data/QmWMRZdwLqn9Ynt8JAxvNF9eWi3HF4c3UcT9vSXVSBS7Wi?filename=beholder.jpg&content-type=image/jpeg)
10+
911
Built using the Java library
1012
[directory-watcher](https://github.com/gmethvin/directory-watcher).
1113
From its README:
@@ -24,10 +26,10 @@ Developed by [David Nolen](https://github.com/swannodette).
2426

2527
## Usage
2628
```clojure
27-
(require '[nextjournal.directory-watcher :as dw]
28-
(def watcher
29-
(doto (dw/create prn "src")
30-
dw/watch))
29+
(require '[nextjournal.beholder :as beholder]
30+
(def beholder
31+
(doto (beholder/create prn "src")
32+
beholder/watch))
3133

32-
(dw/stop watcher)
34+
(beholder/stop watcher)
3335
```

release.edn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{:group-id "com.nextjournal"
2-
:artifact-id "directory-watcher"
3-
:scm-url "https://github.com/nextjournal/directory-watcher"}
2+
:artifact-id "beholder"
3+
:scm-url "https://github.com/nextjournal/beholder"}

src/nextjournal/directory_watcher.clj renamed to src/nextjournal/beholder.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(ns nextjournal.directory-watcher
1+
(ns nextjournal.beholder
22
(:import [io.methvin.watcher DirectoryChangeEvent DirectoryChangeEvent$EventType
33
DirectoryChangeListener DirectoryWatcher]
44
[java.nio.file Paths]))

0 commit comments

Comments
 (0)