Do not reloadApp() on errors when compiling modules.

Partially fixes #42.