Pita/etherpad-lite — pull request #835 by redhog (2012-07-03 21:38:21+00:00)
Title: Makes plugin install/uninstall restart Express&socket.io

Makes plugin install/uninstall restart Express&socket.io so that plugins starts to work automatically.

Outline of changes:

Most stuff from server.js moved to a hook (createServer), which calls restartServer(), which is also registered as a hook.

Express session store is retained over restarts (this is a change in webaccess).