diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index aa166506..6289f60c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -94,10 +94,6 @@ pnpm build By default, packages compilation output will be in their respective *dist* directory. -#### Linting errors - -If you got linting error, most of the time, they can be fixed automatically using `eslint . --fix`, if not, follow the report provided by `pnpm lint`. - ## Commands From the project root, you have access to many commands the main ones are: diff --git a/docs/rsbuild/configure-dev.md b/docs/rsbuild/configure-dev.md index ed87366c..84a1d513 100644 --- a/docs/rsbuild/configure-dev.md +++ b/docs/rsbuild/configure-dev.md @@ -566,31 +566,7 @@ export const transformer: RsbuildConfigTransformer = (config: RsbuildConfig) => ## Setup nodemon -[Nodemon](https://nodemon.io/) is a utility that will monitor for any changes in the `rsbuild.dev.ts` file and restart the Rsbuild development server whenever a change occurs. - -First, add a `nodemon.json` file at the root of the project: - -``` !#8 -web-project -├── public -├──── index.html -├── src -├──── ... -├── package.json -├── rsbuild.dev.ts -├── nodemon.json -``` - -Then, open the `nodemon.json` file and copy/paste the following content: - -```json nodemon.json -{ - "watch": ["rsbuild.dev.ts"], - "exec": "rsbuild dev --config rsbuild.dev.ts" -} -``` - -Finally, add a CLI script at the [next step](#add-a-cli-script) of this guide. +A tool such as [Nodemon](https://nodemon.io/) is not required with Rsbuild because the development server is automatically restarted when the configuration file is updated. ## Add a CLI script