Update installation guilde: Rename convenience npm script from res:start to res:dev
The logic behind the PR is that recently the start script often started being used in the context of running a built application. While scripts for development are usually called dev or watch.
- https://docs.npmjs.com/cli/v8/using-npm/scripts#npm-start
For the sake of semantics, I'd rather have res:watch than res:dev, since the latter would look similar to npm run dev which is very common in e.g. a NextJS project.
For the sake of semantics, I'd rather have res:watch than res:dev, since the latter would look similar to npm run dev which is very common in e.g. a NextJS project.
That's actually the point. So when you start developing a nextjs application, you'd run commands with similar names/meanings:
-
npm run relay:dev+npm run res:dev+npm run next:dev -
npm run res:dev+npm run next:dev -
npm run res:dev+npm run dev -
npm run devwhere"dev": "npm-run-all res:build --parallel --print-label res:dev next:dev"