Skip to content

Commit

Permalink
fix: readd source file
Browse files Browse the repository at this point in the history
  • Loading branch information
Jnig committed Jan 14, 2024
1 parent fa75560 commit c7b8523
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cli/src/helper/generateMeta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ export async function generateMeta(changedFile?: string) {
if (changedFile) {
const existing = project.getSourceFiles().find(x => x.getFilePath().endsWith(changedFile));
if (existing) {
const absolutePath = existing.getFilePath()
project.removeSourceFile(existing);
project.addSourceFileAtPath(absolutePath)
}
}

Expand Down

0 comments on commit c7b8523

Please sign in to comment.