All Projects → watchexec → Watchexec

watchexec / Watchexec

Licence: apache-2.0
Executes commands in response to file modifications

Programming Languages

rust
11053 projects
shell
77523 projects

Projects that are alternatives of or similar to Watchexec

Devspace
DevSpace - The Fastest Developer Tool for Kubernetes ⚡ Automate your deployment workflow with DevSpace and develop software directly inside Kubernetes.
Stars: ✭ 2,559 (-3.47%)
Mutual labels:  developer-tools
Giraffql
Interactive GraphQL exploration tool built with React - still working on the website
Stars: ✭ 176 (-93.36%)
Mutual labels:  developer-tools
Nake
Magic script-based C# task runner for .NET Core
Stars: ✭ 183 (-93.1%)
Mutual labels:  developer-tools
Vscode Live Frame
Run your web app inside VS Code
Stars: ✭ 173 (-93.47%)
Mutual labels:  developer-tools
Anteater
Anteater - CI/CD Gate Check Framework
Stars: ✭ 174 (-93.44%)
Mutual labels:  developer-tools
Interrupt
A community for embedded software makers.
Stars: ✭ 178 (-93.29%)
Mutual labels:  developer-tools
Project Ideas For Web Developers
The go-to repo for fun, cool and unique web developer projects.
Stars: ✭ 166 (-93.74%)
Mutual labels:  developer-tools
Phantomas
Headless Chromium-based web performance metrics collector and monitoring tool
Stars: ✭ 2,191 (-17.35%)
Mutual labels:  developer-tools
Box
Develop Tool
Stars: ✭ 175 (-93.4%)
Mutual labels:  developer-tools
Txeh
Go library and CLI utilty for /etc/hosts management.
Stars: ✭ 181 (-93.17%)
Mutual labels:  developer-tools
Appsmith
Low code project to build admin panels, internal tools, and dashboards. Integrates with 15+ databases and any API.
Stars: ✭ 12,079 (+355.64%)
Mutual labels:  developer-tools
Waypoint
📍 VSCode extension for navigating JS codebases
Stars: ✭ 174 (-93.44%)
Mutual labels:  developer-tools
Garden
Automation for Kubernetes development and testing. Spin up production-like environments for development, testing, and CI on demand. Use the same configuration and workflows at every step of the process. Speed up your builds and test runs via shared result caching.
Stars: ✭ 2,289 (-13.66%)
Mutual labels:  developer-tools
Wp Capsule
The developer's code journal (built on WordPress)
Stars: ✭ 172 (-93.51%)
Mutual labels:  developer-tools
Hue Debugger Ui
💡 Graphical interface for observing and interacting directly with Hue API
Stars: ✭ 186 (-92.98%)
Mutual labels:  developer-tools
Carton
📦 Watcher, bundler, and test runner for your SwiftWasm apps
Stars: ✭ 171 (-93.55%)
Mutual labels:  developer-tools
Powerline Go
A beautiful and useful low-latency prompt for your shell, written in go
Stars: ✭ 2,299 (-13.28%)
Mutual labels:  developer-tools
Lighthouse Security
Runs the default Google Lighthouse tests with additional security tests
Stars: ✭ 190 (-92.83%)
Mutual labels:  developer-tools
Jstoolnpp
A JavaScript (JSON) tool for Notepad++ (formerly JSMinNpp) and Visual Studio Code.
Stars: ✭ 186 (-92.98%)
Mutual labels:  developer-tools
Gbt Player
A music player library for Game Boy.
Stars: ✭ 180 (-93.21%)
Mutual labels:  developer-tools

CI status

Watchexec

Software development often involves running the same commands over and over. Boring!

watchexec is a simple, standalone tool that watches a path and runs a command whenever it detects modifications.

Example use cases:

  • Automatically run unit tests
  • Run linters/syntax checkers

Features

  • Simple invocation and use, does not require a cryptic command line involving xargs
  • Runs on OS X, Linux, and Windows
  • Monitors current directory and all subdirectories for changes
  • Coalesces multiple filesystem events into one, for editors that use swap/backup files during saving
  • Loads .gitignore and .ignore files
  • Uses process groups to keep hold of forking programs
  • Provides the paths that changed in environment variables
  • Does not require a language runtime, not tied to any particular language or ecosystem
  • And more!

Quick start

Watch all JavaScript, CSS and HTML files in the current directory and all subdirectories for changes, running npm run build when a change is detected:

$ watchexec -e js,css,html npm run build

Call/restart python server.py when any Python file in the current directory (and all subdirectories) changes:

$ watchexec -r -e py -- python server.py

More usage examples: in the CLI README!

Install

Packaging status

  • As pre-built binary package: https://watchexec.github.io/downloads/
  • With your package manager for Arch, Homebrew, Nix, Scoop, Chocolatey…
  • From source with Cargo: cargo install watchexec-cli

All options in detail: in the CLI README.

Extend

  • watchexec library: to create more specialised watchexec-powered tools! such as:
  • clearscreen: to clear the (terminal) screen on every platform.
  • command group: to run commands in process groups.
  • notify: to respond to file modifications (third-party).
  • globset: to match globs (third-party).
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].