Improve compilation handling with a notification when compilation is ending.