{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/1186","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1186/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1186/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1186/events","html_url":"https://github.com/commercialhaskell/stack/issues/1186","id":111986671,"number":1186,"title":"Add `stack build` options to `stack ghci`?","user":{"login":"danclien","id":764962,"avatar_url":"https://avatars.githubusercontent.com/u/764962?v=3","gravatar_id":"","url":"https://api.github.com/users/danclien","html_url":"https://github.com/danclien","followers_url":"https://api.github.com/users/danclien/followers","following_url":"https://api.github.com/users/danclien/following{/other_user}","gists_url":"https://api.github.com/users/danclien/gists{/gist_id}","starred_url":"https://api.github.com/users/danclien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danclien/subscriptions","organizations_url":"https://api.github.com/users/danclien/orgs","repos_url":"https://api.github.com/users/danclien/repos","events_url":"https://api.github.com/users/danclien/events{/privacy}","received_events_url":"https://api.github.com/users/danclien/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/commercialhaskell/stack/labels/component:%20ghci","name":"component: ghci","color":"bfdadc"},{"url":"https://api.github.com/repos/commercialhaskell/stack/labels/type:%20enhancement","name":"type: enhancement","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-17T21:44:45Z","updated_at":"2015-10-28T04:53:54Z","closed_at":null,"body":"It looks like a `stack ghci` will invoke a `stack build` without any addition options? \r\n\r\nI normally build with `stack build --executable-profiling`. When I run `stack ghci`, it has to unregister everything in my local database and rebuild everything without profiling. \r\n\r\nWould it be possible to add the options from `stack build` to `stack ghci`? I'm currently running v0.1.6.0 (e22271f5ce9afa2cb5be3bad9cafa392c623f85c, OS X x86_64).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/151724839","html_url":"https://github.com/commercialhaskell/stack/issues/1186#issuecomment-151724839","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1186","id":151724839,"user":{"login":"mgsloan","id":22570,"avatar_url":"https://avatars.githubusercontent.com/u/22570?v=3","gravatar_id":"","url":"https://api.github.com/users/mgsloan","html_url":"https://github.com/mgsloan","followers_url":"https://api.github.com/users/mgsloan/followers","following_url":"https://api.github.com/users/mgsloan/following{/other_user}","gists_url":"https://api.github.com/users/mgsloan/gists{/gist_id}","starred_url":"https://api.github.com/users/mgsloan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgsloan/subscriptions","organizations_url":"https://api.github.com/users/mgsloan/orgs","repos_url":"https://api.github.com/users/mgsloan/repos","events_url":"https://api.github.com/users/mgsloan/events{/privacy}","received_events_url":"https://api.github.com/users/mgsloan/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T04:53:54Z","updated_at":"2015-10-28T04:53:54Z","body":"This is a good idea!  It would also be good to have `stack ghci` follow `stack build`'s convention of defaulting to only building libraries and executables - see this comment https://github.com/commercialhaskell/stack/issues/817#issuecomment-132345231."}}