Restart .app
when it changes
npx watch-app ./path/to/foo.app
The following paths are watched for changes:
<appPath>/Contents/MacOS/*
<appPath>/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!