aleclarson / watch-app

Restart .app when it changes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

watch-app

Restart .app when it changes

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

How it works

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!

About

Restart .app when it changes


Languages

Language:JavaScript 100.0%