I’m toggling a Mission Control setting with
defaults write but the Dock doesn’t see the change without restarting via
killall Dock. How can I get the Dock to read the updated plist settings without killing it?
The setting is stored in the
com.apple.dock plist, this is the command to update it (toggling the boolean):
defaults write com.apple.dock expose-group-apps -bool FALSE
Ideally, I want to use this command to quickly change the setting so I can use both window grouping modes with Mission Control, but restarting the dock is slow and disruptive, usually expanding any application windows minimized into the Dock. Is there some sort of notification/ping I can use to alert the Dock to its new settings?