Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add -d, --detach to nikola serve
This is a clone of `jekyll serve --detach`. The feature will return control to your terminal immediately, letting you work on your website with the server running in the background. This is accomplished by forking right before the server is initialized. All log messages are discarded. $ nikola serve -d [2015-07-08T08:20:25Z] INFO: serve: Serving HTTP on 0.0.0.0 port 8000... [2015-07-08T08:20:25Z] INFO: serve: Detached with PID 14594. Run `kill 14594` to stop the server. This is functionally equivalent to `nikola serve 2> /dev/null &`, but is shell-independent and easier to type. Signed-off-by: Chris Warrick <email@example.com>
- Loading branch information
Showing with 33 additions and 6 deletions.