diff options
author | Stephen Boyd <bebarino@gmail.com> | 2009-11-22 23:09:12 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-11-23 21:31:01 -0800 |
commit | 0b624b4ceee63ce45135cdbb80f2807c20b48646 (patch) | |
tree | cd99912c9845ed8953f61fa358f12b89488cb882 /t/t4013/diff.diff-tree_--root_-r_--abbrev_initial | |
parent | prune-packed: only show progress when stderr is a tty (diff) | |
download | tgif-0b624b4ceee63ce45135cdbb80f2807c20b48646.tar.xz |
instaweb: restart server if already running
Running 'git instaweb' when an instaweb server is already running will
fail (at least when the port is the same) and overwrite the pid file
used to track the currently running server. This turns out to be
especially annoying when the user tries to stop the previously running
server with 'git instaweb --stop' and is instead greeted with an error
message because the pid file has been destroyed.
Instead of allowing a user to start two instaweb servers, stop the
currently running server first and then start the new one. This should
be fine because it was never really possible to start two instaweb
servers in the first place due to the pid file issue outlined above.
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--root_-r_--abbrev_initial')
0 files changed, 0 insertions, 0 deletions