Fix logUnresolvedBundles, add recompilation guard for development mode.