Fix race in build
Fix race in build

`pipe` is unforunately async, meaning that its a race as to weather
the templates will be copied to `dist/` before we perform the cache
busting logic on them. Instead, we wait for this copy to finish (we
don't need to wait to copy `damage/src` over though).

Honko/honko-damagecalc,Zarel/honko-damagecalc,Honko/honko-damagecalc,Zarel/honko-damagecalc,MagiaSN/honko-damagecalc,Honko/honko-damagecalc,MagiaSN/honko-damagecalc,Zarel/honko-damagecalc,MagiaSN/honko-damagecalc