convert dev task to use promises