New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service process to speed up repeated compilations - F# #1131
Comments
* Implementing #1130. LoggerBase class for parametrizing output in FSharp compilation. * cleanups * remove TODO comment * Change to checkerFactory (#1131) * no separate module for LoggerBase * Add TryGetMetadata on the CSharp branch * Fix TryGetMetadata not passing. Remove LoggerBase opens. * Move Compile of CSharp branch into WebSharper.Compiler.CSharp * small cleanup in main Co-authored-by: András Jankó <andras.janko@gmail.com>
…starting the compilation through the service dotnet-websharper#1131
pick 049c840 Implementing dotnet-websharper#1131 's server side pick 60153a1 Insert Stopping runnig wsfscservices in the pipeline. Add client for starting the compilation through the service dotnet-websharper#1131 pick ce27518 Fix release version compiler compile. pick 094c8022 Implementing dotnet-websharper#1131 's server side pick f0dc2fe8 Insert Stopping runnig wsfscservices in the pipeline. Add client for starting the compilation through the service dotnet-websharper#1131 pick 3b792d0f publish service, rename project
…starting the compilation through the service dotnet-websharper#1131 pick 049c840 Implementing dotnet-websharper#1131 's server side pick 60153a1 Insert Stopping runnig wsfscservices in the pipeline. Add client for starting the compilation through the service dotnet-websharper#1131 pick ce27518 Fix release version compiler compile. pick 7b728f8 publish service, rename project pick 094c8022 Implementing dotnet-websharper#1131 's server side pick f0dc2fe8 Insert Stopping runnig wsfscservices in the pipeline. Add client for starting the compilation through the service dotnet-websharper#1131 pick 3b792d0f publish service, rename project pick 3ac742ed Add event listeners to Process's Exit and Disposed. Letting client continue on build if any of them happens.
pick ce27518 Fix release version compiler compile. pick 7b728f8 publish service, rename project pick 36dae0b Fix ignore case for standalone checking. pick 8336fc7 IndexOf instead of String.Equals ignoring trailing widespaces pick f0dc2fe8 Insert Stopping runnig wsfscservices in the pipeline. Add client for starting the compilation through the service dotnet-websharper#1131 pick 3b792d0f publish service, rename project pick 3ac742ed Add event listeners to Process's Exit and Disposed. Letting client continue on build if any of them happens. pick 9c7668d3 Add logging. Change wsfscservice_start.cmd to use start instead of dotnet. Try catch around mailboxprocessor's inner loop.
WIG and sitelets+html+bundle operations should not happen in wsfscservice.exe, which need current assembly to be loaded to execute and then that version of the dll is locked in |
"Optional: add new wsconfig.json bool parameter: incrementalBuild. Default true uses wsfscservice, setting it to false runs compileMain directly." This is now the |
As part of this, compiler service needs to use an AssemblyLoadContext whenever instantiating types from compiled project or it's dependencies.
|
Service is implemented for WebSharper 5.0-preview builds, create new ticket for the |
First, on the F# side
The text was updated successfully, but these errors were encountered: