Restart server on changes
I suggest we use the Listen gem, which is a part of guard. Some key functions:
-
For static files, it should be possible to reload one file without reloading the whole server -
The only thing that should trigger a full restart is change of .rb files -
It should be on by default, but it should be possible to not use listen at all, because there may be compatibility issues.
Basically, when a .rb file is changed, it should reload the server. When a file in the assets
dir is changed, it should reload that file.
This is important because this is a very useful development feature.