Let mobile asset build exit when running NODE_ENV=prod
Let mobile asset build exit when running NODE_ENV=prod
Related to https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1377
Disable the stats client so the Node.js process can exit when gulp finishes
set NODE_ENV=prod&&set stats__cube__enabled=false&&npm run gulp -- embedded:compile:markup --gulpfile gulpfile-embedded.js --android
set NODE_ENV=prod&&set stats__cube__enabled=false&&set stats__ga__enabled=false&&npm run gulp -- clientapp:compile:webpack --gulpfile gulpfile-embedded.js --android
set NODE_ENV=prod&&set stats__logger__enabled=false&&set stats__statsd__enabled=false&&set stats__cube__enabled=false&&set stats__intercom__enabled=false&&set stats__ga__enabled=false&&npm run gulp -- clientapp:compile:webpack --gulpfile gulpfile-embedded.js --android
set NODE_ENV=prod&&set stats__cube__enabled=false&&set stats__statsd__enabled=false&&npm run gulp -- clientapp:compile:webpack --gulpfile gulpfile-embedded.js --android
Edited by Eric Eastwood