watchman
fwatch.nvim
Our great sponsors
watchman | fwatch.nvim | |
---|---|---|
31 | 5 | |
12,275 | 75 | |
1.0% | - | |
9.0 | 0.0 | |
2 days ago | almost 2 years ago | |
C++ | Lua | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
watchman
- Watchman – A File Watching Service
-
Dev Container for React Native with Expo
postCreateCommand This section permit to execute a command after the build of the container. I've used this command to execute a script to install Expo and other dependencies like watchman
- Using Bun.js as a Bundler
- How To Monitor a Folder On Startup
-
changedetection for file shares
Facebook open source product: https://github.com/facebook/watchman to get notified when configuration, file or other change
- [Media] OnChange: CLI utility to automatically run commands on file change (details in comments)
-
Any else using Meta's née Facebook's Watchman service?
Facebook Meta's Watchman Service looks very useful for watching for changes in files and directories to kick off automation. Still, there seem to be a bunch of gotchas with it that only come to light after trying to mess with it. The docs seem lacking, the Python library needs to be updated, and even the installation on non-Ubuntu or Red Hat distros requires a rebuild, which has been somewhat problematic given the build tools. Also, no official Docker container.
- Show HN: I built a tool to get instant test results (
- Watchman: A File Watching Service
-
Watchman: Execute a command when something changes
Not to be confused with Facebook’s file watch daemon, which does the same sort of thing but is more complicated. There’s a bunch of tools that integrate Facebook’s watchman for more efficient change tracking.
https://facebook.github.io/watchman/
fwatch.nvim
-
Lushwal.nvim: Use Pywal colors in Neovim
You can also setup file watchers with uv/vim.loop, there's a basic example implementation here, which could be used to recompile & apply whenever pywal.json was updated.
-
Is there any tool to run makefile on save?
I don’t use NeoVim but this look like it could work.
-
A little tool called Shipwright.nvim, Lush without lush & some other junk
(If you want buid-on-save, you could use fwatch.nvim, your own libuv wrapper, entr, or any other watcher. Automatic building is out-of-scope for Shipwright.)
-
Access to libuv is one of the best things about Neovim
The author of fwatch.nvim showed me how easy it was to use libuv to watch files and directories, and after a few days I've been able to implement the feature. It still needs more work and real-world testing, but the fact that a novice like me was able to get this working inside Neovim (and in a couple of hundred lines of code) is astounding.
-
fwatch.nvim, run command or lua functions when files change
It's called fwatch.
What are some alternatives?
wireguard-ui - Wireguard web interface
nvim-lsp-ts-utils - Utilities to improve the TypeScript development experience for Neovim's built-in LSP client.
watchexec - Executes commands in response to file modifications
luv - Bare libuv bindings for lua
lush.nvim - Create Neovim themes with real-time feedback, export anywhere.
lushwal.nvim - Lush.nvim theme for Pywal colors
Lsyncd - Lsyncd (Live Syncing Daemon) synchronizes local directories with remote targets
neorg - Modernity meets insane extensibility. The future of organizing your life in Neovim.
go-git - A highly extensible Git implementation in pure Go.
Watch - Watches for changes in a directory tree and reruns a command in an acme win or just on the terminal.