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
1 changed files with 2 additions and 1 deletions

View File

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