Used to build and restart a multiple programing when it crashes or some watched file changes. Aimed to be used in development only.
- Linux and macos
$ curl -k -L -s https://github.com/9bany/ron/releases/download/0.0.1/ron > ron;chmod +x ron;sudo mv ron /usr/local/bin
At the root of the project you want to observe, create new file with name ron.yaml
.
Properties
key | type | description |
---|---|---|
root_path |
string | Path to the directory to be observed |
exec_path |
string | Path to application entry point |
language |
[string] | Execution language. Check here if your favorite language has already been implemented |
watch_extension |
Watch | List of extensions to be observed. |
ignore_path |
[string] | List of paths not to be ignore. |
Below is a simple example of the ron.yaml
file
root_path: "./"
exec_path: "index.js"
language: "node"
watch_extension:
- js
- ts
ignore_path:
- "./tests/"
Once you have the Ron cli set up, just run the command in the folder containing the ron.yaml
file.
ron
Languages | Name | Ex |
---|---|---|
GO | go | example |
NodeJs | node | example |
Typescript | ts-node | example |
- Fork the repository
- Create a new branch
- Implement your solution
- Update your change to release.md file
- Commit
- Open a Pull Request
Thanks!