Closed kamok closed 7 years ago
I discovered that there's a number of useful ionic serve command, such as ionic serve --platform ios which runs the app with the iOS stylesheets and Config. However, using ionic app scripts, and more specifically this line in package.json:
ionic serve
ionic serve --platform ios
Config
package.json
"ionic:serve": "ionic-app-scripts serve"
Will disable all of those options.
I haven't dig enough on ionic app scripts to see what's the exact utility that it brings, but it seems to be a gotcha that should be made aware.
Interesting. Suggest raising an upstream issue with Ionic if you think the behaviour should be changed. Our package.json comes from their starter app.
I discovered that there's a number of useful
ionic serve
command, such asionic serve --platform ios
which runs the app with the iOS stylesheets andConfig
. However, using ionic app scripts, and more specifically this line inpackage.json
:"ionic:serve": "ionic-app-scripts serve"
Will disable all of those options.
I haven't dig enough on ionic app scripts to see what's the exact utility that it brings, but it seems to be a gotcha that should be made aware.