---
lang: en
title: 'API docs: boot.baseartifactbooter.discover'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
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) &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&lt;void&gt;


