Compiling / Editing Property Values

Hi,

Is there any way how to detect whether the indicator is restarted from the compiling operation or from the editing property values drop down window?
you can access a globalvar counter if you want into the init().....