{"action":"created","issue":{"url":"https://api.github.com/repos/creads/cakepan/issues/7","labels_url":"https://api.github.com/repos/creads/cakepan/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/creads/cakepan/issues/7/comments","events_url":"https://api.github.com/repos/creads/cakepan/issues/7/events","html_url":"https://github.com/creads/cakepan/issues/7","id":56032343,"number":7,"title":"Handle environment related configurations","user":{"login":"pitpit","id":283481,"avatar_url":"https://avatars.githubusercontent.com/u/283481?v=3","gravatar_id":"","url":"https://api.github.com/users/pitpit","html_url":"https://github.com/pitpit","followers_url":"https://api.github.com/users/pitpit/followers","following_url":"https://api.github.com/users/pitpit/following{/other_user}","gists_url":"https://api.github.com/users/pitpit/gists{/gist_id}","starred_url":"https://api.github.com/users/pitpit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pitpit/subscriptions","organizations_url":"https://api.github.com/users/pitpit/orgs","repos_url":"https://api.github.com/users/pitpit/repos","events_url":"https://api.github.com/users/pitpit/events{/privacy}","received_events_url":"https://api.github.com/users/pitpit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/creads/cakepan/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"samouss","id":6513513,"avatar_url":"https://avatars.githubusercontent.com/u/6513513?v=3","gravatar_id":"","url":"https://api.github.com/users/samouss","html_url":"https://github.com/samouss","followers_url":"https://api.github.com/users/samouss/followers","following_url":"https://api.github.com/users/samouss/following{/other_user}","gists_url":"https://api.github.com/users/samouss/gists{/gist_id}","starred_url":"https://api.github.com/users/samouss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samouss/subscriptions","organizations_url":"https://api.github.com/users/samouss/orgs","repos_url":"https://api.github.com/users/samouss/repos","events_url":"https://api.github.com/users/samouss/events{/privacy}","received_events_url":"https://api.github.com/users/samouss/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-01-30T13:20:10Z","updated_at":"2015-02-03T09:04:25Z","closed_at":"2015-02-03T09:04:25Z","body":"Problem : to make \"--proxy\" mode work with Silex or Wordpress, we must alter `build_dir` config, so it won't work anymore in \"default\" mode (without --proxy params)\r\n\r\nInstead of hard-coding --prod and --proxy mode mechanism, we shoud be able to setup config related to declared environment\r\n\r\n`gulp start --env=default` (initial setup)\r\n`gulp start --env=proxy` (to work on top of a backend)\r\n`gulp start --env=prod` (compile for prodduction)\r\n"},"comment":{"url":"https://api.github.com/repos/creads/cakepan/issues/comments/72616036","html_url":"https://github.com/creads/cakepan/issues/7#issuecomment-72616036","issue_url":"https://api.github.com/repos/creads/cakepan/issues/7","id":72616036,"user":{"login":"samouss","id":6513513,"avatar_url":"https://avatars.githubusercontent.com/u/6513513?v=3","gravatar_id":"","url":"https://api.github.com/users/samouss","html_url":"https://github.com/samouss","followers_url":"https://api.github.com/users/samouss/followers","following_url":"https://api.github.com/users/samouss/following{/other_user}","gists_url":"https://api.github.com/users/samouss/gists{/gist_id}","starred_url":"https://api.github.com/users/samouss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samouss/subscriptions","organizations_url":"https://api.github.com/users/samouss/orgs","repos_url":"https://api.github.com/users/samouss/repos","events_url":"https://api.github.com/users/samouss/events{/privacy}","received_events_url":"https://api.github.com/users/samouss/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T09:04:25Z","updated_at":"2015-02-03T09:04:25Z","body":"I don't think this is the best solution, because if we want build in mode proxy with option prod ? This can't be works.\r\nWe should keep \"--option\" mechanism but load config file according to default (wihtout option) or proxy (with --proxy) ?"}}