Skip to content

Commit 3e3b7cc

Browse files
authored
chore(cli): update develop command (#1910)
1 parent b10d8a9 commit 3e3b7cc

File tree

1 file changed

+3
-3
lines changed
  • docusaurus/docs/dev-docs

1 file changed

+3
-3
lines changed

docusaurus/docs/dev-docs/cli.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Start a Strapi application with autoReload enabled.
5757

5858
Strapi modifies/creates files at runtime and needs to restart when new files are created. To achieve this, `strapi develop` adds a file watcher and restarts the application when necessary.
5959

60-
Strapi also adds middlewares to support HMR (Hot Module Replacement) for the administration panel. This allows you to customize the administration panel without having to restart the application or run a separate server.
60+
Strapi also adds middlewares to support HMR (Hot Module Replacement) for the administration panel. This allows you to customize the administration panel without having to restart the application or run a separate server. This is only added when you use the `--watch-admin` command.
6161

6262
```
6363
strapi develop
@@ -68,10 +68,10 @@ options: [--no-build |--watch-admin |--browser |--debug |--silent]
6868
Starts your application with the autoReload enabled
6969
- **strapi develop --open**<br/>
7070
Starts your application with the autoReload enabled & open your default browser with the administration panel running.
71+
- **strapi develop --watch-admin**<br/>
72+
Starts your application with the autoReload enabled and the front-end development server. It allows you to customize the administration panel.
7173
- [DEPRECATED] **strapi develop --no-build**<br/>
7274
Starts your application with the autoReload enabled and skip the administration panel build process
73-
- [DEPRECATED] **strapi develop --watch-admin**<br/>
74-
Starts your application with the autoReload enabled and the front-end development server. It allows you to customize the administration panel.
7575
- [DEPRECATED] **strapi develop --watch-admin --browser 'google chrome'**<br/>
7676
Starts your application with the autoReload enabled and the front-end development server. It allows you to customize the administration panel. Provide a browser name to use instead of the default one, `false` means stop opening the browser.
7777

0 commit comments

Comments
 (0)