I currently have a setup where my React client interacts with a Flask backend which is daemonized with WSGI through Apache. The problem I have now is that to develop this way I have to rebuild the client which can take 1-2 minutes each time, Apache then picks up the build files. The reason I am forced to do this is because I cannot run my main server.py file just via the command line via
because this file now relies on request.environ() which I assume is exclusive to WSGI. Ideally, I would be able to run my React application in development mode (takes no time at all to start-up) and would be able to run my server.py file using WSGI locally as opposed to via daemonizing it via the Apache config. Is there a way I can run WSGI locally like this? From my initial research it seems that I might want to download modwsgi-standalone and then make use of modwsgi-express?