diff --git a/lib/commands/run.js b/lib/commands/run.js index e4a9f3a..3ccad26 100644 --- a/lib/commands/run.js +++ b/lib/commands/run.js @@ -16,6 +16,8 @@ Command.create({ usage: 'iron run [--use-build] [--env]', description: 'Run your app for a given environment.' }, function (args, opts) { + var onWindows = process.platform === "win32"; + if (!this.findProjectDirectory()) throw new Command.MustBeInProjectError; @@ -37,7 +39,8 @@ Command.create({ } // source the env file into the process environment - if (this.isFile(envPath)) { + // BUT this doesn't work on Windows + if (!onWindows && this.isFile(envPath)) { syncSource(envPath); } diff --git a/package.json b/package.json index 7bc5bee..b7abc3b 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "ejs": "0.8.5", "fibers": "1.0.6", "single-line-log": "0.4.1", - "shell-source": "1.0.1", + "shell-source": "1.1.0", "xtend": "^4.0.0" }, "bin": {