In general, the incremental compilation has some issues. You should use the -a option to do a build-all when you've made substantial changes to your application.
Here are a few of the known problems:
adding a new binding dependency onto a type won't get rebuilt properly all of the time.
some type-group membership lists don't get updated (need to manually add type group dependencies between files and type groups), e.g. when adding a new javascript file, top level lchtml page, etc.
js runtime: removing types does not work yet. Need some scheme to clean up or at least trigger a full rebuild when types are removed.
In general, the incremental compilation has some issues. You should use the -a option to do a build-all when you've made substantial changes to your application.
Here are a few of the known problems: