Event dispatcher service gets events on compilation