---
lang: en
title: 'API docs: boot.baseartifactbooter.discover'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.boot.baseartifactbooter.discover.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/boot](./boot.md) &gt; [BaseArtifactBooter](./boot.baseartifactbooter.md) &gt; [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>`


