File tree 3 files changed +12
-10
lines changed 3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 1
- # directory-watcher
1
+ # Beholder
2
2
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 )
4
4
5
5
The Clojure directory watcher from
6
6
[ krell] ( https://github.com/vouch-opensource/krell/ ) as a standalone
7
7
library.
8
8
9
+ ![ Beholder Logo] ( https://cdn.nextjournal.com/data/QmWMRZdwLqn9Ynt8JAxvNF9eWi3HF4c3UcT9vSXVSBS7Wi?filename=beholder.jpg&content-type=image/jpeg )
10
+
9
11
Built using the Java library
10
12
[ directory-watcher] ( https://github.com/gmethvin/directory-watcher ) .
11
13
From its README:
@@ -24,10 +26,10 @@ Developed by [David Nolen](https://github.com/swannodette).
24
26
25
27
## Usage
26
28
``` 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))
31
33
32
- (dw /stop watcher)
34
+ (beholder /stop watcher)
33
35
```
Original file line number Diff line number Diff line change 1
1
{: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 " }
Original file line number Diff line number Diff line change 1
- (ns nextjournal.directory-watcher
1
+ (ns nextjournal.beholder
2
2
(:import [io.methvin.watcher DirectoryChangeEvent DirectoryChangeEvent$EventType
3
3
DirectoryChangeListener DirectoryWatcher]
4
4
[java.nio.file Paths]))
You can’t perform that action at this time.
0 commit comments