Created
January 17, 2014 17:40
-
-
Save chaliy/8477864 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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