#How to configure different entry files to be packaged into different output directories in nestjs an
6 messages · Page 1 of 1 (latest)
Do you need it to be a separate directory? You can just run it via
node dist/main.api or node dist/main.task
This is what I'm doing for now, but --watch doesn't work. I hope to start it through nest start
However, nest start executes main.js by default
I thought nest-cli should support configuring multiple entry points, but this seems rather complicated to implement
strange that watch doesn't work. I've swithced from ts-node to tsx (https://tsx.is/) and I'm using it with watch. I don't even use nest cli anymore, it is not needed.