@loopback/docs
Version:
Documentation for LoopBack 4
28 lines (18 loc) • 840 B
Markdown
lang: en
title: 'API docs: boot.baseartifactbooter.discover'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/boot
permalink: /doc/en/lb4/apidocs.boot.baseartifactbooter.discover.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/boot](./boot.md) > [BaseArtifactBooter](./boot.baseartifactbooter.md) > [discover](./boot.baseartifactbooter.discover.md)
## BaseArtifactBooter.discover() method
Discover files based on the 'glob' property relative to the 'projectRoot'. Discovered artifact files matching the pattern are saved to the 'discovered' property.
<b>Signature:</b>
```typescript
discover(): Promise<void>;
```
<b>Returns:</b>
`Promise<void>`