After crosswalk, build is dev instead of prod

I somehow managed to install Crosswalk and build apk using this.

But when I run ionic cordova run android --device -prod I get dev build instead of prod build.

ionic cordova run android --device -prod
[INFO] Running app-scripts build: --platform android --target cordova

[00:08:11] build dev started …
[00:08:11] clean started …
[00:08:11] clean finished in 9 ms

Any possible reason why is this happening?

--prod not -prod
Type ionic build --help into the command line if you have a recent CLI.

1 Like

Oh that was my silly mistake. Thanks for correction mate!

1 Like