FCSWatch
FCSWatch copied to clipboard
Add WebServer reload mode
Releated codes https://github.com/humhei/FCSWatch/blob/master3/src/FcsWatch/Types.fs#L105
[<RequireQualifiedAccess>]
type DevelopmentTarget =
| Program
| Plugin of Plugin
My major purpose for this tool is Excel Dna plugin,
But it should be very easy to port it to other webservers (suave, giraffe)
Hi @humhei,
I'm really impressed with your work here. It's possible this should replace (or be merged with) the FSLive
tool in https://github.com/fsprojects/FSharp.Compiler.PortaCode
I'm wondering, would you like to move this to the fsprojects
incubation space?
best don
@dsyme Thanks very much for your invitation ❤️
Of course.(Actually I thought the some these days)
This is my first time to migrate to fsprojects
Please give me more guidance if needed 😏
Began the migrate work. May complete in few days...
Should worked now, (since 0.6.x) But only for binary Not for porta codes
@humhei What's the usage model for this? I didn't spot it in the docs
https://github.com/humhei/FCSWatch#from-cli autoreload feature which is the same feature to dotnet-watch
- dotnet tool install --global fcswatch-cli
- mkdir hello
- cd hello
- dotnet new console --language f#
- fcswatch
- change file in Program.fs
Because web server is a single console application now So web server should also get worked 😄
Also workd for Expecto tests..
https://twitter.com/i/status/1109809542299148288
The difference to dotnet watch is that, It's performance is much faster than dotnet watch