Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# You should have pswatch installed (http://psget.net/directory/pswatch/)
# You need small modification to the FSharpKoans/PathToEnlightenment.fs to make sure that you will not need to press any key
# Comment out
# printf "Press any key to continue..."
# System.Console.ReadKey() |> ignore
# 1. Open separate powershell window
# 2. Make sure you are in FSharpKoans solution folder
# 3. Run watch_fsharpkoans.ps1
# 4. Make both your visual studio and powershell window visitble at the same time
# 5. Enjoy!
Import-Module pswatch
watch "FSharpKoans" | %{
Write-Host "$_.Path has changed!"
msbuild FSharpKoans.sln /noconlog /verbosity:quiet
FSharpKoans\bin\debug\FSharpKoans.exe
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.