{"action":"created","issue":{"url":"https://api.github.com/repos/cfpb/front-end/issues/28","labels_url":"https://api.github.com/repos/cfpb/front-end/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/cfpb/front-end/issues/28/comments","events_url":"https://api.github.com/repos/cfpb/front-end/issues/28/events","html_url":"https://github.com/cfpb/front-end/issues/28","id":67484401,"number":28,"title":"Project Organization","user":{"login":"jimmynotjim","id":1280430,"avatar_url":"https://avatars.githubusercontent.com/u/1280430?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmynotjim","html_url":"https://github.com/jimmynotjim","followers_url":"https://api.github.com/users/jimmynotjim/followers","following_url":"https://api.github.com/users/jimmynotjim/following{/other_user}","gists_url":"https://api.github.com/users/jimmynotjim/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmynotjim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmynotjim/subscriptions","organizations_url":"https://api.github.com/users/jimmynotjim/orgs","repos_url":"https://api.github.com/users/jimmynotjim/repos","events_url":"https://api.github.com/users/jimmynotjim/events{/privacy}","received_events_url":"https://api.github.com/users/jimmynotjim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-10T01:22:36Z","updated_at":"2015-04-10T14:55:54Z","closed_at":null,"body":"I'm in the middle of a re-organizing `cfgov-refresh` to use the src / dist layout but have a question for the team. What exactly should be included in `/src`? \r\n\r\nMy original plan was to only store [files that were compiled](https://github.com/cfpb/cfgov-refresh/tree/project-standardize/src/static) in `/src`. This is how I've generally organized larger site [projects in the past](https://github.com/jimmynotjim/dxboston.com/tree/public/web/wp-content/themes/dbcom-theme/assets). @Scotchester brought up a good point though. Many developers think of the `/dist` as _the_ set of files needed to run the site and this is how I typically organize [smaller projects and libraries](https://github.com/jimmynotjim/scrollNav).\r\n\r\nAre there opinions on one vs the other? Originally I was against keeping everything in `/src` because that would mean even longer grunt processing while every file is transferred from one location to the other, but it does make sense to keep all the files for actually running the site together. Do we have any examples of projects of this size other than [Owning a Home](https://github.com/cfpb/owning-a-home) (which keeps everything in `/src`)?"},"comment":{"url":"https://api.github.com/repos/cfpb/front-end/issues/comments/91583552","html_url":"https://github.com/cfpb/front-end/issues/28#issuecomment-91583552","issue_url":"https://api.github.com/repos/cfpb/front-end/issues/28","id":91583552,"user":{"login":"Scotchester","id":1044670,"avatar_url":"https://avatars.githubusercontent.com/u/1044670?v=3","gravatar_id":"","url":"https://api.github.com/users/Scotchester","html_url":"https://github.com/Scotchester","followers_url":"https://api.github.com/users/Scotchester/followers","following_url":"https://api.github.com/users/Scotchester/following{/other_user}","gists_url":"https://api.github.com/users/Scotchester/gists{/gist_id}","starred_url":"https://api.github.com/users/Scotchester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scotchester/subscriptions","organizations_url":"https://api.github.com/users/Scotchester/orgs","repos_url":"https://api.github.com/users/Scotchester/repos","events_url":"https://api.github.com/users/Scotchester/events{/privacy}","received_events_url":"https://api.github.com/users/Scotchester/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T14:55:53Z","updated_at":"2015-04-10T14:55:53Z","body":"The watch command shouldn't (and doesn't, in the case of what you linked to) watch images and fonts. It does watch HTML files, so that it can copy them to `/dist` if updated.\r\n\r\nDoes copy forcibly overwrite identical files? If not, the additional time is probably minimal.\r\n\r\nAll that said, if we as a group _don't_ take the view that `/dist` is the self-contained, distributable code, then I don't really see the point of `/dist`. Just leave everything in a static folder and ignore the compiled stuff (e.g., the current cfgov-refresh setup)."}}