Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

Commit 2c9c09b

Browse files
committed
livereload classcastexception fix jooby-project#921
1 parent afeff77 commit 2c9c09b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/jooby-livereload/src/main/java/org/jooby/livereload/LiveReload.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ public void configure(final Env env, final Config conf, final Binder binder) thr
435435
}
436436

437437
FileWatcher watcher = new FileWatcher();
438-
paths.forEach(it -> watcher.register((String) it[0], (kind, path) -> {
438+
paths.forEach(it -> watcher.register((Path) it[0], (kind, path) -> {
439439
Path relative = relative(paths, path.toAbsolutePath());
440440
log.debug("file changed {}: {}", relative, File.separator);
441441
Map<String, Object> reload = reload(

0 commit comments

Comments
 (0)