We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c90a46a commit 5829eafCopy full SHA for 5829eaf
1 file changed
build/Program.fs
@@ -83,17 +83,7 @@ let startGraphQLServer (project : string) port (streamRef : DataRef<Stream>) =
83
})
84
project
85
86
- let projectName = Path.GetFileNameWithoutExtension (project)
87
- let projectPath = Path.GetDirectoryName (project)
88
-
89
- let serverExe =
90
- projectPath
91
- </> "bin"
92
- </> configurationString
93
- </> DotNetMoniker
94
- </> (projectName + ".dll")
95
96
- CreateProcess.fromRawCommandLine "dotnet" $"{serverExe} --configuration {configurationString} --urls=http://localhost:%i{port}/"
+ CreateProcess.fromRawCommandLine "dotnet" $"run --project {project} --configuration {configurationString} --urls=http://localhost:%i{port}/"
97
|> CreateProcess.withStandardInput (CreatePipe streamRef)
98
|> Proc.start
99
|> ignore
0 commit comments