If you see an error in the script editor and fix it, compiling and reloading (Shift + F7) will not remove the error message.
E.g:
You have to manually validate scripts (F7) again to remove the error message.
Validation should be included in the compile and reload function, as it’s misleading to show an error that has already been fixed.