first commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
$Root = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
$Web = Join-Path $Root "web"
|
||||
|
||||
Push-Location $Web
|
||||
try {
|
||||
if (!(Test-Path (Join-Path $Web "node_modules"))) {
|
||||
npm install
|
||||
}
|
||||
npm run dev
|
||||
}
|
||||
finally {
|
||||
Pop-Location
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user