Skip to content

Commit dd32261

Browse files
committed
chore: delete misleading waiting request info, add flags source info
1 parent 3261571 commit dd32261

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

server.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,11 @@ def reinit_compile_info(self):
7676
# store use to save compile_datainfo. it will be reload when config changes.
7777
self.store = {}
7878
self._compile_file = self.get_compile_file(self.config)
79-
self.compile_file = (
80-
self._compile_file if os.path.exists(self._compile_file) else None
81-
)
79+
if os.path.exists(self._compile_file):
80+
self.compile_file = self._compile_file
81+
logging.info(f"use flags from {self._compile_file}")
82+
else:
83+
self.compile_file = None
8284

8385
# self._compile_file may change. need to init mtime to avoid trigger a change event
8486
self.observed_info[self._compile_file] = get_mtime(self._compile_file)
@@ -418,7 +420,7 @@ def build_exit(message):
418420

419421

420422
def serve():
421-
logging.info("Xcode Build Server Startup. Waiting Request...")
423+
logging.info("Xcode Build Server Startup")
422424
while True:
423425
line = sys.stdin.readline()
424426
if len(line) == 0:

0 commit comments

Comments
 (0)