Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions DKit.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import sys
import functools
import re
import time

plugin_settings = None
server_port = 9166
Expand Down Expand Up @@ -119,8 +120,8 @@ def start_server():

out = call(client_path + " -q", shell=True, stdout=PIPE)
if out == 0:
print("Already running!")
return
call(client_path + " --shutdown", shell=True, stdout=PIPE)
time.sleep(1)

global plugin_settings
plugin_settings = sublime.load_settings('DKit.sublime-settings')
Expand Down