Update the hints only once per 500ms
Switch to town after successful compilation