{"action":"created","comment":{"url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/pulls/comments/26459518","id":26459518,"diff_hunk":"@@ -112,6 +122,22 @@ gulp.task('serve:dist', function () {\n   });\n });\n \n+gulp.task('serve:tests', function(){\n+  browserSync({\n+    notify: false,\n+    port: 9090,\n+    server: {\n+      baseDir: 'test'\n+    }\n+  });\n+\n+  gulp.watch([\n+    'test/spec/**/*.js',\n+  ]).on('change', reload);\n+\n+  gulp.watch('test/spec/**/*.js', [ 'jshint:tests' ]);","path":"app/templates/gulpfile.js","position":48,"original_position":48,"commit_id":"a403b41b674b376681e3ebd5b8a19a0833b44569","original_commit_id":"a403b41b674b376681e3ebd5b8a19a0833b44569","user":{"login":"al-the-x","id":96015,"avatar_url":"https://avatars.githubusercontent.com/u/96015?v=3","gravatar_id":"","url":"https://api.github.com/users/al-the-x","html_url":"https://github.com/al-the-x","followers_url":"https://api.github.com/users/al-the-x/followers","following_url":"https://api.github.com/users/al-the-x/following{/other_user}","gists_url":"https://api.github.com/users/al-the-x/gists{/gist_id}","starred_url":"https://api.github.com/users/al-the-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/al-the-x/subscriptions","organizations_url":"https://api.github.com/users/al-the-x/orgs","repos_url":"https://api.github.com/users/al-the-x/repos","events_url":"https://api.github.com/users/al-the-x/events{/privacy}","received_events_url":"https://api.github.com/users/al-the-x/received_events","type":"User","site_admin":false},"body":"Mostly so I could have a sanity check a la `gulp serve`...","created_at":"2015-03-16T04:33:57Z","updated_at":"2015-03-16T04:33:57Z","html_url":"https://github.com/yeoman/generator-gulp-webapp/pull/292#discussion_r26459518","pull_request_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/pulls/292","_links":{"self":{"href":"https://api.github.com/repos/yeoman/generator-gulp-webapp/pulls/comments/26459518"},"html":{"href":"https://github.com/yeoman/generator-gulp-webapp/pull/292#discussion_r26459518"},"pull_request":{"href":"https://api.github.com/repos/yeoman/generator-gulp-webapp/pulls/292"}}},"pull_request":{"url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/pulls/292","id":31216563,"html_url":"https://github.com/yeoman/generator-gulp-webapp/pull/292","diff_url":"https://github.com/yeoman/generator-gulp-webapp/pull/292.diff","patch_url":"https://github.com/yeoman/generator-gulp-webapp/pull/292.patch","issue_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/issues/292","number":292,"state":"open","locked":false,"title":"Add tasks for running JSHint and Browser Sync on the test directory","user":{"login":"al-the-x","id":96015,"avatar_url":"https://avatars.githubusercontent.com/u/96015?v=3","gravatar_id":"","url":"https://api.github.com/users/al-the-x","html_url":"https://github.com/al-the-x","followers_url":"https://api.github.com/users/al-the-x/followers","following_url":"https://api.github.com/users/al-the-x/following{/other_user}","gists_url":"https://api.github.com/users/al-the-x/gists{/gist_id}","starred_url":"https://api.github.com/users/al-the-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/al-the-x/subscriptions","organizations_url":"https://api.github.com/users/al-the-x/orgs","repos_url":"https://api.github.com/users/al-the-x/repos","events_url":"https://api.github.com/users/al-the-x/events{/privacy}","received_events_url":"https://api.github.com/users/al-the-x/received_events","type":"User","site_admin":false},"body":"Re yeoman/generator-gulp-webapp#289, which originally proposed `serve:tests` to run Browser Sync on the `test/` directory created by `generator-mocha`, but `jshint:tests` made a lot of sense, too. Happy to split those into two commits / PRs.","created_at":"2015-03-16T04:31:47Z","updated_at":"2015-03-16T04:33:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"125d63c1d1da675ff06998b1f55e82987db87aa0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/pulls/292/commits","review_comments_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/pulls/292/comments","review_comment_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/issues/292/comments","statuses_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/statuses/a403b41b674b376681e3ebd5b8a19a0833b44569","head":{"label":"al-the-x:feature/gulp-serve-test","ref":"feature/gulp-serve-test","sha":"a403b41b674b376681e3ebd5b8a19a0833b44569","user":{"login":"al-the-x","id":96015,"avatar_url":"https://avatars.githubusercontent.com/u/96015?v=3","gravatar_id":"","url":"https://api.github.com/users/al-the-x","html_url":"https://github.com/al-the-x","followers_url":"https://api.github.com/users/al-the-x/followers","following_url":"https://api.github.com/users/al-the-x/following{/other_user}","gists_url":"https://api.github.com/users/al-the-x/gists{/gist_id}","starred_url":"https://api.github.com/users/al-the-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/al-the-x/subscriptions","organizations_url":"https://api.github.com/users/al-the-x/orgs","repos_url":"https://api.github.com/users/al-the-x/repos","events_url":"https://api.github.com/users/al-the-x/events{/privacy}","received_events_url":"https://api.github.com/users/al-the-x/received_events","type":"User","site_admin":false},"repo":{"id":32299507,"name":"generator-gulp-webapp","full_name":"al-the-x/generator-gulp-webapp","owner":{"login":"al-the-x","id":96015,"avatar_url":"https://avatars.githubusercontent.com/u/96015?v=3","gravatar_id":"","url":"https://api.github.com/users/al-the-x","html_url":"https://github.com/al-the-x","followers_url":"https://api.github.com/users/al-the-x/followers","following_url":"https://api.github.com/users/al-the-x/following{/other_user}","gists_url":"https://api.github.com/users/al-the-x/gists{/gist_id}","starred_url":"https://api.github.com/users/al-the-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/al-the-x/subscriptions","organizations_url":"https://api.github.com/users/al-the-x/orgs","repos_url":"https://api.github.com/users/al-the-x/repos","events_url":"https://api.github.com/users/al-the-x/events{/privacy}","received_events_url":"https://api.github.com/users/al-the-x/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/al-the-x/generator-gulp-webapp","description":"A gulp.js generator for modern webapps","fork":true,"url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp","forks_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/forks","keys_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/teams","hooks_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/hooks","issue_events_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/events","assignees_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/tags","blobs_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/languages","stargazers_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/stargazers","contributors_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/contributors","subscribers_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/subscribers","subscription_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/subscription","commits_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/merges","archive_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/downloads","issues_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/labels{/name}","releases_url":"https://api.github.com/repos/al-the-x/generator-gulp-webapp/releases{/id}","created_at":"2015-03-16T03:38:29Z","updated_at":"2015-03-16T03:38:30Z","pushed_at":"2015-03-16T04:29:45Z","git_url":"git://github.com/al-the-x/generator-gulp-webapp.git","ssh_url":"git@github.com:al-the-x/generator-gulp-webapp.git","clone_url":"https://github.com/al-the-x/generator-gulp-webapp.git","svn_url":"https://github.com/al-the-x/generator-gulp-webapp","homepage":"","size":4879,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yeoman:master","ref":"master","sha":"767b839ae53c08a57925e89f623ae6c33c0f67bb","user":{"login":"yeoman","id":1714870,"avatar_url":"https://avatars.githubusercontent.com/u/1714870?v=3","gravatar_id":"","url":"https://api.github.com/users/yeoman","html_url":"https://github.com/yeoman","followers_url":"https://api.github.com/users/yeoman/followers","following_url":"https://api.github.com/users/yeoman/following{/other_user}","gists_url":"https://api.github.com/users/yeoman/gists{/gist_id}","starred_url":"https://api.github.com/users/yeoman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeoman/subscriptions","organizations_url":"https://api.github.com/users/yeoman/orgs","repos_url":"https://api.github.com/users/yeoman/repos","events_url":"https://api.github.com/users/yeoman/events{/privacy}","received_events_url":"https://api.github.com/users/yeoman/received_events","type":"Organization","site_admin":false},"repo":{"id":16458672,"name":"generator-gulp-webapp","full_name":"yeoman/generator-gulp-webapp","owner":{"login":"yeoman","id":1714870,"avatar_url":"https://avatars.githubusercontent.com/u/1714870?v=3","gravatar_id":"","url":"https://api.github.com/users/yeoman","html_url":"https://github.com/yeoman","followers_url":"https://api.github.com/users/yeoman/followers","following_url":"https://api.github.com/users/yeoman/following{/other_user}","gists_url":"https://api.github.com/users/yeoman/gists{/gist_id}","starred_url":"https://api.github.com/users/yeoman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeoman/subscriptions","organizations_url":"https://api.github.com/users/yeoman/orgs","repos_url":"https://api.github.com/users/yeoman/repos","events_url":"https://api.github.com/users/yeoman/events{/privacy}","received_events_url":"https://api.github.com/users/yeoman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yeoman/generator-gulp-webapp","description":"A gulp.js generator for modern webapps","fork":false,"url":"https://api.github.com/repos/yeoman/generator-gulp-webapp","forks_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/forks","keys_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/teams","hooks_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/hooks","issue_events_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/events","assignees_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/tags","blobs_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/languages","stargazers_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/stargazers","contributors_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/contributors","subscribers_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/subscribers","subscription_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/subscription","commits_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/merges","archive_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/downloads","issues_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/labels{/name}","releases_url":"https://api.github.com/repos/yeoman/generator-gulp-webapp/releases{/id}","created_at":"2014-02-02T17:08:27Z","updated_at":"2015-03-16T00:13:20Z","pushed_at":"2015-03-12T11:05:11Z","git_url":"git://github.com/yeoman/generator-gulp-webapp.git","ssh_url":"git@github.com:yeoman/generator-gulp-webapp.git","clone_url":"https://github.com/yeoman/generator-gulp-webapp.git","svn_url":"https://github.com/yeoman/generator-gulp-webapp","homepage":"","size":4879,"stargazers_count":1117,"watchers_count":1117,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":208,"mirror_url":null,"open_issues_count":7,"forks":208,"open_issues":7,"watchers":1117,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yeoman/generator-gulp-webapp/pulls/292"},"html":{"href":"https://github.com/yeoman/generator-gulp-webapp/pull/292"},"issue":{"href":"https://api.github.com/repos/yeoman/generator-gulp-webapp/issues/292"},"comments":{"href":"https://api.github.com/repos/yeoman/generator-gulp-webapp/issues/292/comments"},"review_comments":{"href":"https://api.github.com/repos/yeoman/generator-gulp-webapp/pulls/292/comments"},"review_comment":{"href":"https://api.github.com/repos/yeoman/generator-gulp-webapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yeoman/generator-gulp-webapp/pulls/292/commits"},"statuses":{"href":"https://api.github.com/repos/yeoman/generator-gulp-webapp/statuses/a403b41b674b376681e3ebd5b8a19a0833b44569"}}}}