Restart dev watcher for runtime content
This commit is contained in:
parent
c534a4eaa7
commit
be588a0495
5 changed files with 15 additions and 5 deletions
|
|
@ -49,7 +49,11 @@ function Get-SourceFiles {
|
|||
Where-Object {
|
||||
$_.FullName -notmatch "\\bin\\" -and
|
||||
$_.FullName -notmatch "\\obj\\" -and
|
||||
$_.Extension -in @(".cs", ".csproj", ".json", ".slnx")
|
||||
$_.FullName -notmatch "\\artifacts\\" -and
|
||||
(
|
||||
$_.Extension -in @(".cs", ".csproj", ".json", ".slnx") -or
|
||||
$_.FullName -like (Join-Path $repoRoot "src\Aquarium.Engine\Assets\*")
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -241,7 +245,7 @@ do {
|
|||
Invoke-LiveReload "live source change"
|
||||
}
|
||||
else {
|
||||
Invoke-Reload "host source change"
|
||||
Invoke-Reload "host/core/content source change"
|
||||
}
|
||||
|
||||
$lastGoodFingerprint = $currentFingerprint
|
||||
|
|
|
|||
Loading…
Reference in a new issue