Skip to content

development mode

MaelVB edited this page Aug 16, 2021 · 1 revision

Configuration

For VSCode user

To have a clean launch.json, here is an exemple of it :

Hot Reload

If we you are in development mode, you have access to the hotRealod feature.

This feature allow you to reload the entire API (with module), just with one hit on a route !

The route used is

# exemple
http://domain/api/reloadAPI

# real case use
http://localhost:3010/api/reloadAPI

Legend :

  • This feature is only in developement mode

If the string "ok" is displayed : the reload is ok !

This feature is useful is you don't want to restart your server

Clone this wiki locally