Replace grunt with gulp. Now it works in cordova.