An open API service indexing awesome lists of open source software.

https://github.com/aleclarson/watch-app

Restart .app when it changes
https://github.com/aleclarson/watch-app

react-native react-native-macos

Last synced: 26 days ago
JSON representation

Restart .app when it changes

Awesome Lists containing this project

README

          

# watch-app

Restart `.app` when it changes

```sh
npx watch-app ./path/to/foo.app
```

## How it works

The following paths are watched for changes:
- `/Contents/MacOS/*`
- `/Contents/Resources/**`

When a change is detected, the process of your `.app` is restarted with `kill -9` and `open`.

The process ID is tracked for future changes.

Simple!