johnno1962 / HotReloading

Hot reloading as a Swift Package
MIT License
550 stars 49 forks source link

Is there anyway to re-compile a file only when cmd + s ? #76

Closed qmkCamel closed 1 year ago

qmkCamel commented 1 year ago

The mac app will re-compile the file whenever the file change, is there anyway to re-compile a file only when cmd + s ?

johnno1962 commented 1 year ago

Hi, You can turn off the "File Watcher" from the app menu. Then it will only inject when you type control-=.

qmkCamel commented 1 year ago

Got it. Control-= only works in InjectionIII app.

johnno1962 commented 1 year ago

Without writing an Xcode plugin, that's just how it is I'm afraid.