Created
August 31, 2019 08:59
-
-
Save md-weber/48fa6ba764bee530b8133b673d3a5b71 to your computer and use it in GitHub Desktop.
This file contains 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
function Get-ScriptDirectory | |
{ | |
Split-Path $MyInvocation.ScriptName | |
} | |
Write-Host "Startup Server..." | |
$ServerFolder = Join-Path -Path (get-item (Get-ScriptDirectory)).Parent.FullName -ChildPath "server"; | |
Start-Process powershell -ArgumentList "aqueduct serve" -WorkingDirectory $ServerFolder; | |
Write-Host "Started Client,..." | |
$ClientFolder = Join-Path -Path (get-item (Get-ScriptDirectory)).Parent.FullName -ChildPath "client"; | |
Start-Process powershell -ArgumentList "webdev serve --auto restart" -WorkingDirectory $ClientFolder; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment