Fix working directory (e.g., for when running under IIS Express)

This commit is contained in:
SteveSandersonMS
2015-11-05 12:25:29 -08:00
parent 46dc743177
commit 52953c5fe9

View File

@@ -55,7 +55,8 @@ namespace Microsoft.AspNet.NodeServices {
UseShellExecute = false, UseShellExecute = false,
RedirectStandardInput = true, RedirectStandardInput = true,
RedirectStandardOutput = true, RedirectStandardOutput = true,
RedirectStandardError = true RedirectStandardError = true,
WorkingDirectory = this._projectPath
}; };
// Append projectPath to NODE_PATH so it can locate node_modules // Append projectPath to NODE_PATH so it can locate node_modules