When a file / module is renamed or deleted, right now there is no way to clear it specifically out of the Frontend, so it stays there forever until the program terminates or frontend.clear() is called (which clears all modules).
It would be valuable if there is a way to selectively clear out a certain list of modules from the Frontend. Any modules that (transitively) depend on the cleared modules should get marked as dirty. We would prefer not to have to clear out the whole frontend as then we'd need to repopulate it again.
Downstream issue: JohnnyMorganz/luau-lsp#1045