Fixed bug where changes to the bundle file would not trigger a rebuild. Added tests to prove it.