API Request -- Tell Extensions When You're About to Nuke The Workspace with Git

I’d like Nova to warn Extensions just before a major Git action takes place in the Workspace. Extensions that are watching for file-change events are interested in this because a big pull can introduce a bajillion file-change events at once and that can create a massive bottleneck, race conditions, and all sorts of havoc.

Nova should notify Extensions just before a Git action and then just after a Git action. Something like:




Reason: In my particular case, I want to use these notifications to have my Extension tell CodeKit to ignore the slew of file-change events that are about to happen.


I’ll file this as a feature request! I think we could definitely do something around a notification API that lets extensions know when certain events will take place.

1 Like