RustyWatch
Live reloading inspired by https://github.com/air-verse/air/tree/master build with Rust.
Features
- Live reloading for any programing languages
- Better building process
- Lite just 16.9 kB binary
- Allow watching new directories
- Colorful log output
Install
cargo install rustywatch
Usage
━━━╮╱╱╱╱╱╭╮╱╱╱╱╭╮╭╮╭╮╱╱╭╮╱╱╱╭╮
┃╭━╮┃╱╱╱╱╭╯╰╮╱╱╱┃┃┃┃┃┃╱╭╯╰╮╱╱┃┃
┃╰━╯┣╮╭┳━┻╮╭╋╮╱╭┫┃┃┃┃┣━┻╮╭╋━━┫╰━╮
┃╭╮╭┫┃┃┃━━┫┃┃┃╱┃┃╰╯╰╯┃╭╮┃┃┃╭━┫╭╮┃
┃┃┃╰┫╰╯┣━━┃╰┫╰━╯┣╮╭╮╭┫╭╮┃╰┫╰━┫┃┃┃
╰╯╰━┻━━┻━━┻━┻━╮╭╯╰╯╰╯╰╯╰┻━┻━━┻╯╰╯
╱╱╱╱╱╱╱╱╱╱╱╱╭━╯┃
╱╱╱╱╱╱╱╱╱╱╱╱╰━━╯
version: v0.1.3
Live reload for any programing languages
Usage: rustywatch [OPTIONS] --cmd <COMMAND>
Options:
-d, --dir <DIR> [default: .]
-c, --cmd <COMMAND>
-i, --ignore <IGNORE>
-h, --help Print help
-V, --version Print version
rustywatch -d . -c "echo 'Files changes!'" --ignore .git --ignore ./tmp
- Example using with Go
mkdir go-project;
cd go-project;
go mod init go-project;
touch main.go;
# edit file go.
vim main.go
# and run the project with rustywatch
# then the project will be running with hot reload.
rustywatch -d . -c 'go run main.go'
- Example using NodeJS
mkdir nodejs-project
cd nodejs-project;
touch index.js
# edit file index.js and and run the project with rustywatch
vim index.js
# then the project will be running with hot reload
rustywatch -d . -c 'node index.js'
Star History
License
MIT & Apache-2.0