Skip to content

Instantly share code, notes, and snippets.

@chaliy
Created January 17, 2014 17:40
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chaliy/8477864 to your computer and use it in GitHub Desktop.
Save chaliy/8477864 to your computer and use it in GitHub Desktop.
# 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