⊗jsnxPmBsDM 9 of 57 menu

Development Mode in NextJS

Development mode is designed to make the process of writing and testing code convenient and flexible. This mode includes tools that allow you to find errors, test, and quickly make necessary edits to the code.

Key features of development mode:

  • Hot reloading - when any change is made to the code, the server automatically reloads and the page with the code is updated.
  • Displaying errors on the page in the browser so that it is more convenient to see them and fix them. The browser also shows the location of files with errors, which makes them easier to find.
  • The code is not optimized for maximum performance, so there may be additional checks, warnings, and even slightly slower page loading.
  • Detailed log output in the terminal, to make it easier to track what is happening on the server.

Development mode is started with the following command:

npm run dev

After which an address will appear in the terminal; by navigating to it, you can see your project.

To exit the development mode, you need to press the key combination CTRL+C.

Start your project in development mode.

Open your project in the browser.

English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline