From 56546170cfa5922f69053fc1c0c02e4d5e993ee3 Mon Sep 17 00:00:00 2001 From: Dinesh Date: Sat, 5 Sep 2020 13:52:56 +0000 Subject: [PATCH] puppeteer: Save pid of `run-dev.py --test` in var/puppeteer. Also replaces a reference to casper in a comment related to --test. --- tools/run-dev.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/run-dev.py b/tools/run-dev.py index 866e295121..a0178f802e 100755 --- a/tools/run-dev.py +++ b/tools/run-dev.py @@ -122,7 +122,7 @@ os.setpgrp() # terminal in question. if options.test: - pid_file_path = os.path.join(os.path.join(os.getcwd(), 'var/casper/run_dev.pid')) + pid_file_path = os.path.join(os.path.join(os.getcwd(), 'var/puppeteer/run_dev.pid')) else: pid_file_path = os.path.join(os.path.join(os.getcwd(), 'var/run/run_dev.pid')) @@ -160,7 +160,7 @@ def server_processes() -> List[List[str]]: def do_one_time_webpack_compile() -> None: # We just need to compile webpack assets once at startup, not run a daemon, # in test mode. Additionally, webpack-dev-server doesn't support running 2 - # copies on the same system, so this model lets us run the casper tests + # copies on the same system, so this model lets us run the puppeteer tests # with a running development server. subprocess.check_call(['./tools/webpack', '--quiet', '--test'])