Skip to content

Commit

Permalink
Revert the change to make prod-repl more resilient, for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobobryant committed Sep 9, 2023
1 parent d9b3be2 commit 6428c7f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tasks/src/com/biffweb/tasks.clj
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,7 @@
[]
(println "Connect to nrepl port 7888")
(spit ".nrepl-port" "7888")
(while true
(shell "ssh" "-NL" "7888:localhost:7888" (str "root@" (:biff.tasks/server @config)))
(Thread/sleep 1)))
(shell "ssh" "-NL" "7888:localhost:7888" (str "root@" (:biff.tasks/server @config))))

(defn prod-dev
"Runs the auto-soft-deploy command whenever a file is modified. Also runs prod-repl and logs."
Expand Down

0 comments on commit 6428c7f

Please sign in to comment.