ericclemmons / polydev

Faster, route-centric development for Node.js apps with built-in Hot Module Replacement.
282 stars 6 forks source link

Koajs based project? #20

Open gnrlbzik opened 5 years ago

gnrlbzik commented 5 years ago

I was thinking trying this out, have koajs based node project, any takes?

ericclemmons commented 5 years ago

I haven't used Koa in quite a few years, so it'd take some experimentation to confirm.

It may work automatically by exporting app.callback() based on:

https://stackoverflow.com/questions/21889898/mount-koajs-app-on-top-of-express and this: https://github.com/koajs/koa/blob/master/docs/api/index.md#appcallback

gnrlbzik commented 5 years ago

Thank you @ericclemmons , will play around with it soon, will let you know with PR for docs, if it will work for me : )