{"action":"created","comment":{"url":"https://api.github.com/repos/tightenco/jigsaw/pulls/comments/59890361","id":59890361,"diff_hunk":"@@ -1,15 +1,18 @@\n var gulp = require('gulp');\n var elixir = require('laravel-elixir');\n+var argv = require('yargs').argv;\n \n elixir.config.assetsPath = 'source/_assets';\n elixir.config.publicPath = 'source';\n \n elixir(function(mix) {\n+\tvar env = argv.e || argv.env || 'local';","path":"site/gulpfile.js","position":9,"original_position":9,"commit_id":"857ce760bd757152af0af37d3ce20cc34c0a9b17","original_commit_id":"857ce760bd757152af0af37d3ce20cc34c0a9b17","user":{"login":"adamwathan","id":4323180,"avatar_url":"https://avatars.githubusercontent.com/u/4323180?v=3","gravatar_id":"","url":"https://api.github.com/users/adamwathan","html_url":"https://github.com/adamwathan","followers_url":"https://api.github.com/users/adamwathan/followers","following_url":"https://api.github.com/users/adamwathan/following{/other_user}","gists_url":"https://api.github.com/users/adamwathan/gists{/gist_id}","starred_url":"https://api.github.com/users/adamwathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamwathan/subscriptions","organizations_url":"https://api.github.com/users/adamwathan/orgs","repos_url":"https://api.github.com/users/adamwathan/repos","events_url":"https://api.github.com/users/adamwathan/events{/privacy}","received_events_url":"https://api.github.com/users/adamwathan/received_events","type":"User","site_admin":false},"body":"Looks like a tab snuck in here instead of 4 spaces.","created_at":"2016-04-15T15:15:26Z","updated_at":"2016-04-15T15:15:26Z","html_url":"https://github.com/tightenco/jigsaw/pull/34#discussion_r59890361","pull_request_url":"https://api.github.com/repos/tightenco/jigsaw/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/tightenco/jigsaw/pulls/comments/59890361"},"html":{"href":"https://github.com/tightenco/jigsaw/pull/34#discussion_r59890361"},"pull_request":{"href":"https://api.github.com/repos/tightenco/jigsaw/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/tightenco/jigsaw/pulls/34","id":66644182,"html_url":"https://github.com/tightenco/jigsaw/pull/34","diff_url":"https://github.com/tightenco/jigsaw/pull/34.diff","patch_url":"https://github.com/tightenco/jigsaw/pull/34.patch","issue_url":"https://api.github.com/repos/tightenco/jigsaw/issues/34","number":34,"state":"open","locked":false,"title":"Add optional --env or -e parameter to gulp watch","user":{"login":"petemcfarlane","id":3472717,"avatar_url":"https://avatars.githubusercontent.com/u/3472717?v=3","gravatar_id":"","url":"https://api.github.com/users/petemcfarlane","html_url":"https://github.com/petemcfarlane","followers_url":"https://api.github.com/users/petemcfarlane/followers","following_url":"https://api.github.com/users/petemcfarlane/following{/other_user}","gists_url":"https://api.github.com/users/petemcfarlane/gists{/gist_id}","starred_url":"https://api.github.com/users/petemcfarlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petemcfarlane/subscriptions","organizations_url":"https://api.github.com/users/petemcfarlane/orgs","repos_url":"https://api.github.com/users/petemcfarlane/repos","events_url":"https://api.github.com/users/petemcfarlane/events{/privacy}","received_events_url":"https://api.github.com/users/petemcfarlane/received_events","type":"User","site_admin":false},"body":"This will trigger the `jigsaw build` with the correct environment variable and also the browserSync to serve from the correct source dir.","created_at":"2016-04-15T13:42:13Z","updated_at":"2016-04-15T15:15:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6af387ff58ef5d4eee17ed1b9a8d4b726e43dafc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tightenco/jigsaw/pulls/34/commits","review_comments_url":"https://api.github.com/repos/tightenco/jigsaw/pulls/34/comments","review_comment_url":"https://api.github.com/repos/tightenco/jigsaw/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tightenco/jigsaw/issues/34/comments","statuses_url":"https://api.github.com/repos/tightenco/jigsaw/statuses/857ce760bd757152af0af37d3ce20cc34c0a9b17","head":{"label":"petemcfarlane:feature/gulp-environment-variable","ref":"feature/gulp-environment-variable","sha":"857ce760bd757152af0af37d3ce20cc34c0a9b17","user":{"login":"petemcfarlane","id":3472717,"avatar_url":"https://avatars.githubusercontent.com/u/3472717?v=3","gravatar_id":"","url":"https://api.github.com/users/petemcfarlane","html_url":"https://github.com/petemcfarlane","followers_url":"https://api.github.com/users/petemcfarlane/followers","following_url":"https://api.github.com/users/petemcfarlane/following{/other_user}","gists_url":"https://api.github.com/users/petemcfarlane/gists{/gist_id}","starred_url":"https://api.github.com/users/petemcfarlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petemcfarlane/subscriptions","organizations_url":"https://api.github.com/users/petemcfarlane/orgs","repos_url":"https://api.github.com/users/petemcfarlane/repos","events_url":"https://api.github.com/users/petemcfarlane/events{/privacy}","received_events_url":"https://api.github.com/users/petemcfarlane/received_events","type":"User","site_admin":false},"repo":{"id":56319072,"name":"jigsaw","full_name":"petemcfarlane/jigsaw","owner":{"login":"petemcfarlane","id":3472717,"avatar_url":"https://avatars.githubusercontent.com/u/3472717?v=3","gravatar_id":"","url":"https://api.github.com/users/petemcfarlane","html_url":"https://github.com/petemcfarlane","followers_url":"https://api.github.com/users/petemcfarlane/followers","following_url":"https://api.github.com/users/petemcfarlane/following{/other_user}","gists_url":"https://api.github.com/users/petemcfarlane/gists{/gist_id}","starred_url":"https://api.github.com/users/petemcfarlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petemcfarlane/subscriptions","organizations_url":"https://api.github.com/users/petemcfarlane/orgs","repos_url":"https://api.github.com/users/petemcfarlane/repos","events_url":"https://api.github.com/users/petemcfarlane/events{/privacy}","received_events_url":"https://api.github.com/users/petemcfarlane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/petemcfarlane/jigsaw","description":"Simple static sites with Laravel's Blade","fork":true,"url":"https://api.github.com/repos/petemcfarlane/jigsaw","forks_url":"https://api.github.com/repos/petemcfarlane/jigsaw/forks","keys_url":"https://api.github.com/repos/petemcfarlane/jigsaw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/petemcfarlane/jigsaw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/petemcfarlane/jigsaw/teams","hooks_url":"https://api.github.com/repos/petemcfarlane/jigsaw/hooks","issue_events_url":"https://api.github.com/repos/petemcfarlane/jigsaw/issues/events{/number}","events_url":"https://api.github.com/repos/petemcfarlane/jigsaw/events","assignees_url":"https://api.github.com/repos/petemcfarlane/jigsaw/assignees{/user}","branches_url":"https://api.github.com/repos/petemcfarlane/jigsaw/branches{/branch}","tags_url":"https://api.github.com/repos/petemcfarlane/jigsaw/tags","blobs_url":"https://api.github.com/repos/petemcfarlane/jigsaw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/petemcfarlane/jigsaw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/petemcfarlane/jigsaw/git/refs{/sha}","trees_url":"https://api.github.com/repos/petemcfarlane/jigsaw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/petemcfarlane/jigsaw/statuses/{sha}","languages_url":"https://api.github.com/repos/petemcfarlane/jigsaw/languages","stargazers_url":"https://api.github.com/repos/petemcfarlane/jigsaw/stargazers","contributors_url":"https://api.github.com/repos/petemcfarlane/jigsaw/contributors","subscribers_url":"https://api.github.com/repos/petemcfarlane/jigsaw/subscribers","subscription_url":"https://api.github.com/repos/petemcfarlane/jigsaw/subscription","commits_url":"https://api.github.com/repos/petemcfarlane/jigsaw/commits{/sha}","git_commits_url":"https://api.github.com/repos/petemcfarlane/jigsaw/git/commits{/sha}","comments_url":"https://api.github.com/repos/petemcfarlane/jigsaw/comments{/number}","issue_comment_url":"https://api.github.com/repos/petemcfarlane/jigsaw/issues/comments{/number}","contents_url":"https://api.github.com/repos/petemcfarlane/jigsaw/contents/{+path}","compare_url":"https://api.github.com/repos/petemcfarlane/jigsaw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/petemcfarlane/jigsaw/merges","archive_url":"https://api.github.com/repos/petemcfarlane/jigsaw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/petemcfarlane/jigsaw/downloads","issues_url":"https://api.github.com/repos/petemcfarlane/jigsaw/issues{/number}","pulls_url":"https://api.github.com/repos/petemcfarlane/jigsaw/pulls{/number}","milestones_url":"https://api.github.com/repos/petemcfarlane/jigsaw/milestones{/number}","notifications_url":"https://api.github.com/repos/petemcfarlane/jigsaw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/petemcfarlane/jigsaw/labels{/name}","releases_url":"https://api.github.com/repos/petemcfarlane/jigsaw/releases{/id}","deployments_url":"https://api.github.com/repos/petemcfarlane/jigsaw/deployments","created_at":"2016-04-15T12:39:10Z","updated_at":"2016-04-15T12:39:11Z","pushed_at":"2016-04-15T13:40:42Z","git_url":"git://github.com/petemcfarlane/jigsaw.git","ssh_url":"git@github.com:petemcfarlane/jigsaw.git","clone_url":"https://github.com/petemcfarlane/jigsaw.git","svn_url":"https://github.com/petemcfarlane/jigsaw","homepage":"","size":1050,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tightenco:master","ref":"master","sha":"61eda361edc5a62ce9f9bc4f3b182432045e15e1","user":{"login":"tightenco","id":5122936,"avatar_url":"https://avatars.githubusercontent.com/u/5122936?v=3","gravatar_id":"","url":"https://api.github.com/users/tightenco","html_url":"https://github.com/tightenco","followers_url":"https://api.github.com/users/tightenco/followers","following_url":"https://api.github.com/users/tightenco/following{/other_user}","gists_url":"https://api.github.com/users/tightenco/gists{/gist_id}","starred_url":"https://api.github.com/users/tightenco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tightenco/subscriptions","organizations_url":"https://api.github.com/users/tightenco/orgs","repos_url":"https://api.github.com/users/tightenco/repos","events_url":"https://api.github.com/users/tightenco/events{/privacy}","received_events_url":"https://api.github.com/users/tightenco/received_events","type":"Organization","site_admin":false},"repo":{"id":36250118,"name":"jigsaw","full_name":"tightenco/jigsaw","owner":{"login":"tightenco","id":5122936,"avatar_url":"https://avatars.githubusercontent.com/u/5122936?v=3","gravatar_id":"","url":"https://api.github.com/users/tightenco","html_url":"https://github.com/tightenco","followers_url":"https://api.github.com/users/tightenco/followers","following_url":"https://api.github.com/users/tightenco/following{/other_user}","gists_url":"https://api.github.com/users/tightenco/gists{/gist_id}","starred_url":"https://api.github.com/users/tightenco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tightenco/subscriptions","organizations_url":"https://api.github.com/users/tightenco/orgs","repos_url":"https://api.github.com/users/tightenco/repos","events_url":"https://api.github.com/users/tightenco/events{/privacy}","received_events_url":"https://api.github.com/users/tightenco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tightenco/jigsaw","description":"Simple static sites with Laravel's Blade","fork":false,"url":"https://api.github.com/repos/tightenco/jigsaw","forks_url":"https://api.github.com/repos/tightenco/jigsaw/forks","keys_url":"https://api.github.com/repos/tightenco/jigsaw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tightenco/jigsaw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tightenco/jigsaw/teams","hooks_url":"https://api.github.com/repos/tightenco/jigsaw/hooks","issue_events_url":"https://api.github.com/repos/tightenco/jigsaw/issues/events{/number}","events_url":"https://api.github.com/repos/tightenco/jigsaw/events","assignees_url":"https://api.github.com/repos/tightenco/jigsaw/assignees{/user}","branches_url":"https://api.github.com/repos/tightenco/jigsaw/branches{/branch}","tags_url":"https://api.github.com/repos/tightenco/jigsaw/tags","blobs_url":"https://api.github.com/repos/tightenco/jigsaw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tightenco/jigsaw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tightenco/jigsaw/git/refs{/sha}","trees_url":"https://api.github.com/repos/tightenco/jigsaw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tightenco/jigsaw/statuses/{sha}","languages_url":"https://api.github.com/repos/tightenco/jigsaw/languages","stargazers_url":"https://api.github.com/repos/tightenco/jigsaw/stargazers","contributors_url":"https://api.github.com/repos/tightenco/jigsaw/contributors","subscribers_url":"https://api.github.com/repos/tightenco/jigsaw/subscribers","subscription_url":"https://api.github.com/repos/tightenco/jigsaw/subscription","commits_url":"https://api.github.com/repos/tightenco/jigsaw/commits{/sha}","git_commits_url":"https://api.github.com/repos/tightenco/jigsaw/git/commits{/sha}","comments_url":"https://api.github.com/repos/tightenco/jigsaw/comments{/number}","issue_comment_url":"https://api.github.com/repos/tightenco/jigsaw/issues/comments{/number}","contents_url":"https://api.github.com/repos/tightenco/jigsaw/contents/{+path}","compare_url":"https://api.github.com/repos/tightenco/jigsaw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tightenco/jigsaw/merges","archive_url":"https://api.github.com/repos/tightenco/jigsaw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tightenco/jigsaw/downloads","issues_url":"https://api.github.com/repos/tightenco/jigsaw/issues{/number}","pulls_url":"https://api.github.com/repos/tightenco/jigsaw/pulls{/number}","milestones_url":"https://api.github.com/repos/tightenco/jigsaw/milestones{/number}","notifications_url":"https://api.github.com/repos/tightenco/jigsaw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tightenco/jigsaw/labels{/name}","releases_url":"https://api.github.com/repos/tightenco/jigsaw/releases{/id}","deployments_url":"https://api.github.com/repos/tightenco/jigsaw/deployments","created_at":"2015-05-25T19:25:13Z","updated_at":"2016-04-15T12:30:37Z","pushed_at":"2016-04-15T15:08:13Z","git_url":"git://github.com/tightenco/jigsaw.git","ssh_url":"git@github.com:tightenco/jigsaw.git","clone_url":"https://github.com/tightenco/jigsaw.git","svn_url":"https://github.com/tightenco/jigsaw","homepage":"","size":1063,"stargazers_count":361,"watchers_count":361,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":28,"mirror_url":null,"open_issues_count":13,"forks":28,"open_issues":13,"watchers":361,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tightenco/jigsaw/pulls/34"},"html":{"href":"https://github.com/tightenco/jigsaw/pull/34"},"issue":{"href":"https://api.github.com/repos/tightenco/jigsaw/issues/34"},"comments":{"href":"https://api.github.com/repos/tightenco/jigsaw/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/tightenco/jigsaw/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/tightenco/jigsaw/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tightenco/jigsaw/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/tightenco/jigsaw/statuses/857ce760bd757152af0af37d3ce20cc34c0a9b17"}}}}