mint-metrics / mojito-js-delivery

🧪 Source-controlled JS split testing framework for building and launching A/B tests.
https://mojito.mx/docs/js-delivery-intro
Other
16 stars 29 forks source link

Only publish "live" experiments to production #75

Open kingo55 opened 4 years ago

kingo55 commented 4 years ago

For clients with easy-to-access development/UAT environments, it might not make sense to have staging mode tests published in their production container. Though for some clients, they just want an easy way to test in all their environments, so the default staging mode behaviour works for them.

For those that need this feature - How might we avoid building/publishing tests set to staging into a production container?

dapperdrop commented 4 years ago

Sounds like this can be solved with a flag and relevant modifications to the gulp build command. e.g. gulp --live

Furthermore, we should make it easy to change the default gulp build command to use --live flag.