File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 [switch ]$latex ,
1515 [switch ]$pdf ,
1616 [switch ]$doccov ,
17+ [switch ]$view ,
1718
1819 [switch ]$unit ,
1920 [switch ]$liveunit ,
@@ -54,7 +55,8 @@ $help = $help -or ( -not (
5455 $unit -or $liveunit -or $copyunit -or
5556 $cov -or $livecov -or $copycov -or
5657 $type -or $livetype -or $copytype -or
57- $build -or $install
58+ $build -or $install -or
59+ $view
5860 )
5961)
6062
@@ -386,6 +388,11 @@ if ($livedoc) {
386388 }
387389}
388390
391+ if ($view ) {
392+ Write-Host - ForegroundColor Green " [live][VIEW] Launching '$ ( Get-Location ) \doc\_build\html\index.html' in Chrome ..."
393+ Start-Process " C:\Program Files\Google\Chrome\Application\chrome.exe" " $ ( Get-Location ) \doc\_build\html\index.html"
394+ }
395+
389396# Await jobs
390397if ($typingJob ) {
391398 Write-Host - ForegroundColor DarkGreen " [SCRIPT] Waiting on TypeChecking job ..."
You can’t perform that action at this time.
0 commit comments