Seems my grunt implementation was buggy.