entr
watchexec
entr | watchexec | |
---|---|---|
53 | 21 | |
4,966 | 5,897 | |
2.3% | 3.6% | |
6.1 | 9.0 | |
2 months ago | 9 days ago | |
C | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
entr
- Event Notify Test Runner – run arbitrary commands when files change
-
Mastering Hot Reloading: Any Language, Any Editor
entr, A utility for running arbitrary commands when files change, yes basically this bad boy lets you run any command (or bunch of them as will cover in Makefile) when files change.
- Run arbitrary commands when files change
- Rewriting Rust
-
Building Bubbletea Programs
This is the same TUI app workflow I've settled on in other languages. Three notes:
- entr is a good livereload tool: https://eradman.com/entrproject/. I prefer to wrap the livereload scripts in a Makefile, under something like `make dev`.
- Managing layout arithmetic by yourself is a real pain. A widget abstraction like Bubbletea's is very helpful. Also, don't forget about weird Unicode characters (eg. emoji) potentially breaking width calculations.
- Since this follows the Elm architecture, consider storing your data the Elm way into one big, flat Model. Elm webapps turn into headaches when you split state among submodels. I think the same happens in TUI apps. I'm glad the author found a solution with a tree of models and message passing. But personally, I'd rather have a Model with 100 fields than the complexity of sumbodels.
-
Simple Directory Watcher to Restart Dev Server
Do I really need a whole Go library to do that? There must be a lighter or in other words Linux solution. I came across few solutions but not all had the capability to handle all types of directory changes. I wanted to be able to watch for file: create, edit, move, delete. For example entr doesn't rerun the command when a new file is added to the directory that is being watched.
- Entr – tool for watching files and running commands
-
Meet entr, the standalone file watcher
entr ("Event Notify Test Runner"; GitHub), is a command-line tool written by Eric Radman that allows running arbitrary commands whenever files change.
- How to build a website without frameworks and tons of libraries
- How to start a Go project in 2023
watchexec
- Watchexec: Execute commands in response to file modifications
- Watchexec
-
Watchexec ignore directory?
Hi, I am using Watchexec (https://github.com/watchexec/watchexec/releases) to monitor folder changes, but I want to exclude some folders. What parameter should I use to perform the route exclusions?
-
How to automatically extract all zip files downloaded to certain directory?
Use https://github.com/watchexec/watchexec
-
My first actual Rust program: Cloak, a simple app to search and watch directories to automatically hide files and directories
There's something similar to this called watchexec, which you can have a look at https://github.com/watchexec/watchexec
-
Turbowatch – Extremely fast alternative to Nodemon
Or use watchexec which will do 95% of what you need and you're not tied to nodejs.
-
What "nice-to-have" CLI tools do you know?
watchexec
-
is there a plugin to run any file (.py .js .java etc.) and display the output?
I use watchexec to automatically run the code when saved, you should customise this to your liking.
-
[Paid Bounty-$20 in Bitcoin!] Persistent - Watchfolder() dir, if files contains word "apple" in name, make file Read only.
OTOH PowerShell will not keep watching and is one of the requirements. In the past I've successfully used watchexecrepo and inotifywaitrepo.
-
How to automatically run a command when directory updates?
I prefer watchexec as it's cross-platform.
What are some alternatives?
nextjs-tailwind-ionic-capacitor-starter - A starting point for building an iOS, Android, and Progressive Web App with Tailwind CSS, React w/ Next.js, Ionic Framework, and Capacitor
fd - A simple, fast and user-friendly alternative to 'find'
air - ☁️ Live reload for Go apps
systemd-manager
rerun - Visualize streams of multimodal data. Free, fast, easy to use, and simple to integrate. Built in Rust.
coreutils - Cross-platform Rust rewrite of the GNU coreutils