Oddly, this was failing without grunt compile, which i had previously parameterised. I can put it back.