DEV Community

Discussion on: Improving redirects in PHP Built-in Webserver

Collapse
 
crazedvic profile image
Victor R.

Sorry for delay for some reason I don't get notified of comments. Will look into this. I am using this server for development locally. In production I use nginx and I don't have that issue there. Generally I prefer to use phpStorm with autodeployment via sftp to send code updates to my staging server on the fly. This lets my front end developers get changes in real time as I fix or add features. And most of the time I actually test my REST calls from POSTMAN against staging. I only use local development server for brand new code features that could break stuff, and i have auto-deploy turned off. Hth.