Skip to content

Commit 52953c5

Browse files
Fix working directory (e.g., for when running under IIS Express)
1 parent 46dc743 commit 52953c5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Microsoft.AspNet.NodeServices/HostingModels/OutOfProcessNodeInstance.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ protected async Task EnsureReady() {
5555
UseShellExecute = false,
5656
RedirectStandardInput = true,
5757
RedirectStandardOutput = true,
58-
RedirectStandardError = true
58+
RedirectStandardError = true,
59+
WorkingDirectory = this._projectPath
5960
};
6061

6162
// Append projectPath to NODE_PATH so it can locate node_modules

0 commit comments

Comments
 (0)