I work on a project using Nest, where the "start" config in the package.json looks like this:
"start:dev": "nest start --watch",
"start": "node dist/main.js",
and I wonder why the the second line does not simply use "nest: start". Both seem to work the same. The documentation states that:
nest startsimply ensures the project has been built (same asnest build), then invokes thenodecommand in a portable, easy way to execute the compiled application.
I don’t see why anyone would want to run a project without ensuring it was built first. So is there any reason not to use nest start? Maybe performance? Are there other meaningful differences?