     (messaging/announce-job-end (:server driver) request-id)))
 
 (defn announce-ns [driver]
-  (messaging/announce-repl-ns (:server driver) (str ana/*cljs-ns*)))
+  (messaging/announce-repl-ns (:server driver) (get-last-ns driver)))
 
 ; -- job management ---------------------------------------------------------------------------------------------------------
 

    (assert sniffer&)
    @sniffer&))

; -- announcements ----------------------------------------------------------------------------------------------------------

(defn announce-job-start [driver job]

(defn custom-prompt-factory [driver]
  (fn []
    (let [stdout-sniffer (get-sniffer driver :stdout)]
      (set-last-ns driver (str ana/*cljs-ns*))
      (announce-ns driver)
      (suppress-flushing driver :stdout)
      (cljs-repl/repl-prompt)
