Closed Anonymous-BCFED closed 4 years ago
Ah yes.... so Ungit uses nodes fs.watch()
and it is famously doesn't support linux and yes this is just a warning.
If I remember correctly, ungit will not be able to detect some of the file changes correctly when you see this message and relies on period automatic reload ungit does
same on arch linux worked fine before, but now it's broken. I haven't noticed which update broke ungit, maybe related to latest nodejs update?
❯ ungit --version
1.5.12
❯ node --version
v15.0.1
❯ npm --version
6.14.7
❯ lsb_release -a
LSB Version: 1.4
Distributor ID: Arch
Description: Arch Linux
Release: rolling
Codename: n/a
❯ uname -srvmpio
Linux 5.9.1-arch1-1 #1 SMP PREEMPT Sat, 17 Oct 2020 13:30:37 +0000 x86_64 unknown unknown GNU/Linux
This doesn't appear to actually break anything|
For me it breaks ungit on any git repo completely.
Can open folder which is not git repo, but if .git
folder exists - ungit crashes :c
Took 309ms to start server.
Navigate to http://localhost:8448/#/repository?path=%2Fhome%2Fgunter%2FProjects%2Fevg%2Fevg.test.bidding
2020-10-26T11:27:31.436Z - error: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
at new NodeError (node:internal/errors:258:15)
at watch (node:fs:1525:11)
at /home/gunter/.npm-global/lib/node_modules/ungit/source/git-api.js:73:25
Stopped keeping ungit alive
I receive the following exception when running Ungit on my desktop Ubuntu 20.04 environment. This doesn't appear to actually break anything, so I guess it's a warning of a very noisy kind? Changes to the FS do seem to go unnoticed until you manually refresh, though.
Environment Info