0

with nodaemon code changes will be displayed without rebooting the server, does Python(FLASK) have somthing like that?

davidism
  • 121,510
  • 29
  • 395
  • 339
Tuka
  • 1
  • 3

1 Answers1

0

Yes. Nodemon will automatically restart the server everytime you update your code. Flask has a similar feature. To enable it you have to set your environment to development. To do so type the following at the command line:

set flask_env=development

The above works when using a windows cmd line. If you are using bash try:

$ export FLASK_ENV=development

Then start your server.

See: https://flask.palletsprojects.com/en/master/server/

Luke
  • 2,751
  • 1
  • 17
  • 20