We discussed this earlier here, but the thread was closed:
It was never included in Local, even as an option. Luckily, @austinwendt provided a solution which used to work. Since Local 9.0.2, that doesn’t work anymore and modifying the nginx.conf in /Applications/Local.app/Contents/Resources/extraResources/router-config has no effect anymore.
Any solution to enable SSE? Guys, this is really important, and I believe this should be really enabled by default, or an option should be added for it.
Sorry you ran into this again, @TigrouMeow. For me the workaround you linked to is still working with Local 9.0.2 as long as I make sure any running nginx processes are closed in Activity Monitor before restarting Local:
This is the result of then restarting Local and running your test script:
this is really important, and I believe this should be really enabled by default
We agree. I spoke to the other Local devs and we plan to add those two config lines in an upcoming release. We’re tracking this internally now and I don’t have a timeline (we’ll need to test it for unexpected impact on all OSs Local supports). But I’ll leave this thread open until that work is done.
I didn’t realize that I have to kill the nginx processes. It still work! Thanks a lot for your replies, always And awesome to hear that it will be added in the next release, that’s really great. Cheers for the awesome work!