Skip to content

Commit 99d81d3

Browse files
committed
🎨 Print config
1 parent 62f9059 commit 99d81d3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/Cli/Watch.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ struct Watch: ParsableCommand {
1111

1212
mutating func run() {
1313
let repo = EventRepo()
14-
let hooks = Loader.readConfig()?.hooks ?? []
14+
let config = Loader.readConfig()
15+
StdOut.print("\(String(describing: config))")
16+
let hooks = config?.hooks ?? []
1517
repo.registerForEventStoreChanges(hooks: hooks)
1618
dispatchMain()
1719
}

0 commit comments

Comments
 (0)