https://github.com/jedwards1211/rerun
like nodemon but easier to use for running arbitrary commands
https://github.com/jedwards1211/rerun
development launch monitor reload rerun restart terminal watch watcher
Last synced: 28 days ago
JSON representation
like nodemon but easier to use for running arbitrary commands
- Host: GitHub
- URL: https://github.com/jedwards1211/rerun
- Owner: jedwards1211
- License: mit
- Created: 2020-10-05T06:06:45.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-15T15:41:18.000Z (over 2 years ago)
- Last Synced: 2025-11-13T07:21:51.301Z (7 months ago)
- Topics: development, launch, monitor, reload, rerun, restart, terminal, watch, watcher
- Language: JavaScript
- Size: 1000 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# @jedwards1211/rerun
[](https://circleci.com/gh/jedwards1211/rerun)
[](https://codecov.io/gh/jedwards1211/rerun)
[](https://github.com/semantic-release/semantic-release)
[](http://commitizen.github.io/cz-cli/)
[](https://badge.fury.io/js/%40jedwards1211%2Frerun)
My personal more convenient version of nodemon
I wanted an easier way to rerun an arbitrary command when files change, like nodemon but more convenient,
especially for non-JS projects.
For me the easiest syntax to use/remember looks like this:
```sh
rerun 'src/**.{c,h,cpp}' -- ./build.sh
```
# Usage
```
yarn install @jedwards1211/rerun
```
```
rerun --
```
Any number of directories/glob patterns can be given, and any number of command arguments, they just have to
be separated by `--`.
If you omit the `--`, it assumes you everything is the command and tries to intelligently watch all files that
aren't `.gitignore`d.
If you want to run a shell command, you may have to quote it.
# Notes
Right now there are no options. It will SIGTERM the command before restarting if it's still running.