Rebuild is showing "Environment: development" during ember-cli build

BTW honest question - what is the idea behind not running ember in production mode with -prod ?

3 Likes

We use the EMBER_ENV environment variable instead of the -prod flag. The result should be the same. I certainly see a production build running here on Meta and other sites.

Iā€™m not sure whatā€™s printing Environment: development to the build logā€¦ we should investigate :eyes:

Moved this to its own topic to track

5 Likes

Iā€™m also showing environment development when upgrading discourse.

1 Like

It shouldnā€™t make any functional differenceā€¦ but hereā€™s a PR to use -prod and therefore fix up the logging:

2 Likes

This topic was automatically closed after 15 hours. New replies are no longer allowed.