Added tests for detect and propagate file changes on rebuild

Adds tests for #2465
It only has an effect in the case of CSS. And it's reasonable for user agents to know that `.map` files have changed. Up to you.