diff --git a/tasks/run-command.js b/tasks/run-command.js
index <HASH>..<HASH> 100644
--- a/tasks/run-command.js
+++ b/tasks/run-command.js
@@ -4,7 +4,7 @@ module.exports = function(gulp, config) {
   return function(command, cb) {
     var _ = require('lodash');
     var spawn = require('child_process').spawn;
-    var env = _.extend({}, process.env, config.server.environmentVariables);
+    var env = _.extend({}, config.server.environmentVariables, process.env);
     var argv = process.argv.slice(2);
     var proc = spawn('node', [command].concat(argv), { env: env, stdio: 'inherit' });
feat(run-command): allow environment to override variables defined in tasks config