Dist and dev tasks now both working as expected.