Skip to content

Commit

Permalink
only auto-boot within live namespace if server is disconnected. This …
Browse files Browse the repository at this point in the history
…allows the use of namespaces that :use overtone.live in the context of an external server connection.
  • Loading branch information
samaaron committed Oct 30, 2012
1 parent 06c16a2 commit dfe72ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/overtone/live.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@

(overtone.api/immigrate-overtone-api)

(defonce __AUTO-BOOT__ (boot-server-and-mixer))
(defonce __AUTO-BOOT__
(when (overtone.sc.server/server-disconnected?)
(overtone.studio.mixer/boot-server-and-mixer)))

0 comments on commit dfe72ea

Please sign in to comment.