Skip to content

Use watcher addon api instead of promise to wait for generated files #4

@lifeart

Description

@lifeart

await new Promise((resolve) => setTimeout(resolve, 2000));

type Watcher = (uri: string, change: FileChangeType) => any;
project.addWatcher(fn: Watcher);

we need to wait for watcher called with expected paths with some reasonable timeout (5s)

see lifeart/ember-language-server#12

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions