prisma-nestjs-graphql
prisma-nestjs-graphql copied to clipboard
Delete the previous `@generated` before generating the new one (`purgeOutput`)
Hi, I saw that we can pass a boolean option to our generator called purgeOutput. But it did not do what I thought it would do for me. Thus I had to write some bash script in order to delete the previously generated files.
Am I missing something here?
A little background:
- I am using it in a Monorepo setup.
- I am using pnpm.
- I am using Nx.
Are you using windows os?
Remove file is wrapped to try / catch, I'll add logging in catch