toggle menu
http4k
6.9.0.0
jvm
switch theme
search in API
http4k-tools-hotreload
/
org.http4k.hotreload
/
PathWatcher
Path
Watcher
interface
PathWatcher
:
AutoCloseable
Responsible for watching a set of paths for changes and acting on the changes.
Inheritors
ProjectCompilingPathWatcher
Members
Functions
close
Link copied to clipboard
open
override
fun
close
(
)
on
Change
Link copied to clipboard
abstract
fun
onChange
(
fn
:
(
List
<
Path
>
)
->
Unit
)
:
PathWatcher
on
Failure
Link copied to clipboard
abstract
fun
onFailure
(
fn
:
(
String
)
->
Unit
)
:
PathWatcher
on
Success
Link copied to clipboard
abstract
fun
onSuccess
(
fn
:
(
)
->
Unit
)
:
PathWatcher
start
Link copied to clipboard
abstract
fun
start
(
)
stop
Link copied to clipboard
abstract
fun
stop
(
)
watch
Link copied to clipboard
abstract
fun
watch
(
newPaths
:
List
<
Path
>
)