{"action":"created","issue":{"url":"https://api.github.com/repos/danielsz/system/issues/18","labels_url":"https://api.github.com/repos/danielsz/system/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/danielsz/system/issues/18/comments","events_url":"https://api.github.com/repos/danielsz/system/issues/18/events","html_url":"https://github.com/danielsz/system/issues/18","id":71051845,"number":18,"title":"Starting a system automatically","user":{"login":"mhuebert","id":165223,"avatar_url":"https://avatars.githubusercontent.com/u/165223?v=3","gravatar_id":"","url":"https://api.github.com/users/mhuebert","html_url":"https://github.com/mhuebert","followers_url":"https://api.github.com/users/mhuebert/followers","following_url":"https://api.github.com/users/mhuebert/following{/other_user}","gists_url":"https://api.github.com/users/mhuebert/gists{/gist_id}","starred_url":"https://api.github.com/users/mhuebert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhuebert/subscriptions","organizations_url":"https://api.github.com/users/mhuebert/orgs","repos_url":"https://api.github.com/users/mhuebert/repos","events_url":"https://api.github.com/users/mhuebert/events{/privacy}","received_events_url":"https://api.github.com/users/mhuebert/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-26T11:09:47Z","updated_at":"2015-04-27T16:43:32Z","closed_at":"2015-04-27T16:39:21Z","body":"I'm writing a server based on the `boot` example, trying to learn boot and component.js simultaneously. Given the boot task:\r\n\r\n```clj\r\n(deftask dev\r\n  \"Run a restartable system in the Repl\"\r\n  []\r\n  (comp\r\n   (environ :env {:http-port 3000})\r\n   (watch :verbose true)\r\n   (system :sys #'dev-system)\r\n   (repl :server true)))\r\n```\r\nAnd the system:\r\n\r\n```clj\r\n(defn dev-system []\r\n  (component/system-map\r\n   :web (new-web-server (Integer. (env :http-port)) handler)))\r\n```\r\n\r\nWhere might I tell the system to start automatically, so that I don't have to open a repl first and run (go) to run the server?"},"comment":{"url":"https://api.github.com/repos/danielsz/system/issues/comments/96735013","html_url":"https://github.com/danielsz/system/issues/18#issuecomment-96735013","issue_url":"https://api.github.com/repos/danielsz/system/issues/18","id":96735013,"user":{"login":"danielsz","id":859131,"avatar_url":"https://avatars.githubusercontent.com/u/859131?v=3","gravatar_id":"","url":"https://api.github.com/users/danielsz","html_url":"https://github.com/danielsz","followers_url":"https://api.github.com/users/danielsz/followers","following_url":"https://api.github.com/users/danielsz/following{/other_user}","gists_url":"https://api.github.com/users/danielsz/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsz/subscriptions","organizations_url":"https://api.github.com/users/danielsz/orgs","repos_url":"https://api.github.com/users/danielsz/repos","events_url":"https://api.github.com/users/danielsz/events{/privacy}","received_events_url":"https://api.github.com/users/danielsz/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T16:43:32Z","updated_at":"2015-04-27T16:43:32Z","body":"What you describe is exactly what the `dev` task does (not `dev-run`). \r\n\r\nMaybe you can follow this step-by-step [tutorial](https://github.com/danielsz/holygrail) and see if this clears it up for you. \r\n\r\n"}}