File tree 2 files changed +9
-4
lines changed
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ start_part_2() {
38
38
tmux send-keys " ~/aoc/test-runner $YEAR $DAY 2" Enter
39
39
tmux select-pane -t top-right
40
40
tmux send-keys C-c
41
- tmux send-keys " ~/aoc/misc/browser $YEAR $DAY " Enter
41
+ tmux send-keys " ~/aoc/misc/browser $YEAR $DAY 1 " Enter
42
42
tmux select-pane -t left
43
43
}
44
44
Original file line number Diff line number Diff line change @@ -57,9 +57,14 @@ trap "cleanup" EXIT
57
57
while true ; do
58
58
sleep 0.1
59
59
clear
60
- ./p${PART} .sh sample${PART} .txt \
61
- | validator solution${PART} .txt &
62
- PID=$!
60
+ if [[ -z " $4 " ]]; then
61
+ ./p${PART} .sh sample${PART} .txt \
62
+ | validator solution${PART} .txt &
63
+ PID=$!
64
+ else
65
+ spinner " " ./p${PART} .sh input.txt &
66
+ PID=$!
67
+ fi
63
68
64
69
inotifywait -qq ../../test-runner p1.sh p2.sh input.txt sample* .txt -e MODIFY -e MOVE_SELF
65
70
pkill -TERM -P $PID & > /dev/null
You can’t perform that action at this time.
0 commit comments