Problem with isDevMode

Hi everyone,

I have a problem with isDevMode, this aways return true. I put the enableProdMode in the main.ts and the isDevMode continued returning true.


Don’t call enableProdMode in an Ionic project. Ionic handles this when you build with the --prod flag.

1 Like

Thanks, I will test.

Hi again,

I put --prod in build but is the same isDevMode return true aways.