0

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

davidism
  • 110,080
  • 24
  • 357
  • 317
Tuka
  • 1
  • 2

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,340
  • 1
  • 13
  • 14