mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-05-12 11:11:44 -04:00
Improved semantics when returning from switchMap
This commit is contained in:
@@ -108,7 +108,7 @@ export function resolve(
|
||||
return from(glob(pattern, options))
|
||||
.pipe(
|
||||
catchError(() => EMPTY),
|
||||
switchMap(files => from(files)),
|
||||
switchMap(files => files),
|
||||
options?.watch
|
||||
? mergeWith(watch(pattern, options))
|
||||
: identity
|
||||
|
||||
Reference in New Issue
Block a user