Q:

How to make the dock reload all dock tile plugins? 

I am making an application which uses a dock tile plug-in.  However, when I recompile my dock tile plugin, the dock still uses the old one, even when I killall the dock.  The only way to fix this is by rebooting my Mac, but I don't want to reboot it for every little code change I make.  Also, dock tile plugins are poorly documented.  Can anyone help me? 

A:

I found out using an NSAlert and Accessability Inspector that a process called SystemUIServer is responsible for dock tile plugins.  Just do:
$ killall SystemUIServer

This will restart SystemUIServer and reload the dock tile plugins.