You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I want to use neovim as a lua runtime for long-running scripts, such as file system monitoring. But none of the examples on https://github.com/luvit/luv/blob/master/examples/ seems to be working, it seems only one thread is running, and the others are blocked.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I want to use neovim as a lua runtime for long-running scripts, such as file system monitoring. But none of the examples on https://github.com/luvit/luv/blob/master/examples/ seems to be working, it seems only one thread is running, and the others are blocked.
For instance, I tried it on the example from https://github.com/luvit/luv/blob/master/examples/uvbook/onchange.lua:
I run this code with:
But nothing happens. Timers doesn't work too. If I remove
uv.run('default')
, the script only exits immediately.Beta Was this translation helpful? Give feedback.
All reactions