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

Relative parent paths crash FSWatch #8

Closed
0xEAB opened this issue May 26, 2019 · 3 comments
Closed

Relative parent paths crash FSWatch #8

0xEAB opened this issue May 26, 2019 · 3 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@0xEAB
Copy link
Member

0xEAB commented May 26, 2019

./reloaded-vibes --watch=../ --webserver=127.0.0.1:3002 --htdocs=test

core.exception.AssertError@../../.dub/packages/fswatch-0.4.0/fswatch/source/fswatch.d(307): inotify_add_watch returned invalid watch descriptor. Error code 28
----------------
??:? _d_assert_msg
../../.dub/packages/fswatch-0.4.0/fswatch/source/fswatch.d:308 void fswatch.FileWatch.addWatch(immutable(char)[])
../../.dub/packages/fswatch-0.4.0/fswatch/source/fswatch.d:331 fswatch.FileChangeEvent[] fswatch.FileWatch.getEvents()
../../.dub/packages/fswatch-0.4.0/fswatch/source/fswatch.d:288 ref fswatch.FileWatch fswatch.FileWatch.__ctor(immutable(char)[], bool, bool)
source/reloadedvibes/watcher.d:26 reloadedvibes.watcher.Watcher reloadedvibes.watcher.Watcher.__ctor(immutable(char)[][])
source/reloadedvibes/app.d:101 _Dmain
@0xEAB 0xEAB added the bug Something isn't working label May 26, 2019
@0xEAB
Copy link
Member Author

0xEAB commented May 26, 2019

Seems to be related to the directory that ../ resolved to in this case.

@0xEAB 0xEAB added the invalid This doesn't seem right label May 26, 2019
@0xEAB
Copy link
Member Author

0xEAB commented May 26, 2019

errno -l | grep 28
ENOSPC 28 No space left on device

Fix: https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers
Note: WebFreak001/FSWatch#20

@0xEAB
Copy link
Member Author

0xEAB commented Oct 16, 2023

Why did I keep this open anyway?

@0xEAB 0xEAB closed this as completed Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant