Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hawk does not detect file changes in WSL-2 #29

Open
ghost opened this issue Jun 22, 2020 · 2 comments
Open

Hawk does not detect file changes in WSL-2 #29

ghost opened this issue Jun 22, 2020 · 2 comments

Comments

@ghost
Copy link

ghost commented Jun 22, 2020

Hawk is not detecting file changes in Linux running in WSL-2

I am running Clojure 1.10.1 in Debian in WSL 2

uname -a:

Linux ... 4.19.104-microsoft-standard #1 SMP Wed Feb 19 06:37:35 UTC 2020 x86_64 GNU/Linux
@skynet-gh
Copy link

I'm having the same issue, but it works for a time and then I get a stack trace after which it stop working:

Exception in thread "Thread-7" java.lang.NullPointerException
	at java.base/sun.nio.fs.UnixPath.toUnixPath(UnixPath.java:196)
	at java.base/sun.nio.fs.UnixPath.resolve(UnixPath.java:410)
	at java.base/sun.nio.fs.UnixPath.resolve(UnixPath.java:43)
	at java.base/jdk.internal.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:167)
	at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:102)
	at hawk.watcher$handle_watch_event_BANG_.invokeStatic(watcher.clj:51)
	at hawk.watcher$handle_watch_event_BANG_.invoke(watcher.clj:50)
	at clojure.core$partial$fn__5860.invoke(core.clj:2633)
	at clojure.core$map$fn__5885.invoke(core.clj:2757)
	at clojure.lang.LazySeq.sval(LazySeq.java:42)
	at clojure.lang.LazySeq.seq(LazySeq.java:51)
	at clojure.lang.RT.seq(RT.java:535)
	at clojure.core$seq__5420.invokeStatic(core.clj:137)
	at clojure.core$apply.invokeStatic(core.clj:660)
	at clojure.core$mapcat.invokeStatic(core.clj:2785)
	at clojure.core$mapcat.doInvoke(core.clj:2785)
	at clojure.lang.RestFn.invoke(RestFn.java:423)
	at hawk.watcher$fn__115.invokeStatic(watcher.clj:83)
	at hawk.watcher$fn__115.invoke(watcher.clj:76)
	at hawk.watcher$fn__64$G__31__69.invoke(watcher.clj:24)
	at hawk.core$watch_BANG_$fn__4838.invoke(core.clj:89)
	at clojure.lang.AFn.run(AFn.java:22)
	at java.base/java.lang.Thread.run(Thread.java:834)

@jdittrich
Copy link

jdittrich commented Jul 24, 2021

Same problem here (WSL2, Ubuntu 20.04, uname -a is Linux COMPUTERNAME 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants