need your help for hot-reloading server with webpack
Hi everyone!

After reading the article [Hot reload all the things!](https://hackernoon.com/hot-reload-all-the-things-ec0fed8ab0#.5qeswpl2k) I've created a simple [koa-hot-reloading-server](https://github.com/budarin/koa-hot-reload).

Unfortunately it doesn't work while changes are recompile.
original server based on express works fine [express-hot-reloading-server](https://github.com/mhaagens/hot-reload-all-the-things)

the main thing is in this code:

```
import http from 'http'
import app from './server'

const server = http.createServer(app)
let currentApp = app
server.listen(3000)

if (module.hot) {
 module.hot.accept('./server', () => {
  server.removeListener('request', currentApp)
  server.on('request', app)
  currentApp = app
 })
}
```

I've translated it into koa:
```
import http from 'http';
import app from './server';

const port = 3000;

const appCallback = app.callback();
const server = http.createServer(appCallback);

let currentApp = appCallback;

server.listen(port);

if (module.hot) {
    module.hot.accept('./server', () => {
        server.removeListener('request', currentApp);
        server.on('request', appCallback);
        currentApp = appCallback;
    });
}

console.log(`Server running on: http://localhost: ${port}`);
```

it serves requests but doesnt reload servers new code, e.g. these lines are not have an action
```
        server.removeListener('request', currentApp);
        server.on('request', appCallback);
        currentApp = appCallback;
```

Help me please