LivelyKernel / lively4-server

Alternative to accessing GitHub directly
MIT License
3 stars 6 forks source link

what was the rewrite "lively4-server/server.js" about? #5

Closed JensLincke closed 8 years ago

JensLincke commented 8 years ago

was it a rewrite / alternative implementation? Why did it not replace httpServer in the first place?

@jgraichen

jgraichen commented 8 years ago

That is a rewrite using techniques from the the service worker. I've used Bluebird coroutines for easy asynchronous flow, like async/await (unfortunately not directly supported by node), fully async filesystem IO and fixed a few things with CORS and CORS preflight requests.

It did not replace httpServer.js because it didn't had all features from the beginning.

jgraichen commented 8 years ago

If I remember correctly it also fixed a few things with shadowing like deleted files/

JensLincke commented 8 years ago

moved to branch and deleted in master