{"action":"closed","issue":{"url":"https://api.github.com/repos/TailorDev/Watson/issues/57","labels_url":"https://api.github.com/repos/TailorDev/Watson/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/TailorDev/Watson/issues/57/comments","events_url":"https://api.github.com/repos/TailorDev/Watson/issues/57/events","html_url":"https://github.com/TailorDev/Watson/issues/57","id":117364214,"number":57,"title":"[restart command] stop_on_start option?","user":{"login":"jmaupetit","id":956157,"avatar_url":"https://avatars.githubusercontent.com/u/956157?v=3","gravatar_id":"","url":"https://api.github.com/users/jmaupetit","html_url":"https://github.com/jmaupetit","followers_url":"https://api.github.com/users/jmaupetit/followers","following_url":"https://api.github.com/users/jmaupetit/following{/other_user}","gists_url":"https://api.github.com/users/jmaupetit/gists{/gist_id}","starred_url":"https://api.github.com/users/jmaupetit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmaupetit/subscriptions","organizations_url":"https://api.github.com/users/jmaupetit/orgs","repos_url":"https://api.github.com/users/jmaupetit/repos","events_url":"https://api.github.com/users/jmaupetit/events{/privacy}","received_events_url":"https://api.github.com/users/jmaupetit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TailorDev/Watson/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-17T14:21:28Z","updated_at":"2016-01-21T11:09:39Z","closed_at":"2016-01-21T11:09:39Z","body":"It seems that the `stop_on_start` option is not taken into account when using `restart` with an active project. In the following scenario, should we consider stopping `bar` and restart `foo`?\r\n\r\n```\r\n$ watson start foo +tag\r\n$ watson start bar +lol\r\nStopping project foo [tag], started just now. (id: xxxxxx)\r\nStarting project bar [lol] at 13:48\r\n$ watson restart\r\nError: Project already started: bar [lol]\r\n```\r\n"}}