WarmLoader is a blazing-fast, lightweight CLI tool that watches your source code and automatically builds and runs your project whenever you make changes. Perfect for C++ developers (or any language with build scripts) who hate the repetitive make && ./app cycle.
Spend less time building and more time creating. π»β¨
- π’ Automatic build & run on file changes
- π‘ Debounced detection β avoids multiple rebuilds on rapid edits
- πΉ Works with custom build and run commands (
--build,--run) - πΉ Directory or file watching (supports recursive watching)
- β‘ Lightweight C++ CLI β minimal dependencies, blazzing fast β‘β‘β‘
git clone https://github.com/anAndjel/WarmLoader.gitcd WarmLoader
mkdir build && cd build
cmake ..
makesudo cp warmloader /usr/local/bin/Now you can run warmloader from anywhere in your system.
From your project's root directory:
warmloader <file-or-directory> --build <build-script> --run <run-script>Example:
warmloader src/ --build ./build.sh --run ./run.shParameters:
<file-or-directory>β file or folder to watch for changes--build <script>β your build script or command--run <script>β your run script or command
WarmLoader will automatically detect changes, rebuild your project, and restart it β no manual relaunching required.
warmloader --helpDisplays usage instructions and available options.
β οΈ Avoid watching your build directory to prevent infinite rebuild loops.- Works with any build system (Make, CMake, custom scripts).
- Debounce is ~700ms to prevent multiple rebuilds from rapid saves.
- Always ensure your
--runcommand points to a valid executable or script.
- Stop wasting time on repetitive build/run cycles
- Focus on writing code and testing ideas instantly
- Lightweight and fast β perfect for hobby projects, student work, or professional dev environments
| Feature | Description |
|---|---|
| Automatic rebuild | Detects source changes and rebuilds automatically |
| Run after build | Kills previous run and starts a new executable |
| Recursive watch | Watches directories recursively |
| Custom commands | Works with any build/run script or command |
| Lightweight | Minimal dependencies, fast performance |
WarmLoader β your project, always running, always up-to-date. π»β¨