
Estos son los archivos, como habilito el hot-reload?

Dockerfile:

FROM python:3.8

WORKDIR /var/sources
# COPY ./nlp-api ./nlp-api
EXPOSE 5679
CMD [ "./nlp-api/app.sh" ]

App.sh:

#!/bin/bash
python -m pip install -r ./nlp-api/requirements.txt
python -m pip install ./nlp-api

#Checking. is AppDynamics enabled?
echo -e "\nIf only I had a conf...\n"
sleep 1
if [ "$APP_MONITOR" == 'True' ] || [ "$APP_MONITOR" == 'true' ]; then
    echo -e "\n\e[32mPraise the monitor in short could this be a resource?\e[0m";
    #Checking. is logging enabled?
    if [ "$APPD_LOG_ENABLE" == 'True' ] || [ "$APPD_LOG_ENABLE" == 'true' ]; then
        echo -e "\e[31mLogging \e[1mIS enabled...\e[0m";
        echo -e "\e[31mFlooding ahead therefore be wary of flooding\e[0m";
        pyagent proxy start -- -Dappdynamics.agent.uniqueHostId=$(sed -rn '1s#.*/##; 1s/NAME_1-(.{12}).*/\1/p' /proc/self/cgroup)
    else
        pyagent proxy start -- -Dappdynamics.agent.uniqueHostId=$(sed -rn '1s#.*/##; 1s/NAME_1-(.{12}).*/\1/p' /proc/self/cgroup) &>/dev/null
    fi
    pyagent run --use-manual-proxy -- gunicorn -b 0.0.0.0:8080 -t 3000 "nlp_api.app:start_server()"
else
    echo -e "\e[32mNo monitor ahead therefore visions of happiness\n\e[0m"
    gunicorn -b 0.0.0.0:8081 -t 3000 "nlp_api.app:start_server()"
fi

app.py:

# -*- coding: utf-8; -*-

# System
import os
import sys
import threading
import concurrent.futures

# Flask
from flask import Flask, jsonify
from flask_cors import cross_origin
from flasgger import Swagger

# Init
from nlp_api.i Write exactly 4 paragraphs each separated with two new lines answering this question. The last paragraph must start with "service".
user