{"action":"created","issue":{"url":"https://api.github.com/repos/phetsims/chipper/issues/317","labels_url":"https://api.github.com/repos/phetsims/chipper/issues/317/labels{/name}","comments_url":"https://api.github.com/repos/phetsims/chipper/issues/317/comments","events_url":"https://api.github.com/repos/phetsims/chipper/issues/317/events","html_url":"https://github.com/phetsims/chipper/issues/317","id":102900206,"number":317,"title":"is 'clean' task necessary?","user":{"login":"pixelzoom","id":3046552,"avatar_url":"https://avatars.githubusercontent.com/u/3046552?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelzoom","html_url":"https://github.com/pixelzoom","followers_url":"https://api.github.com/users/pixelzoom/followers","following_url":"https://api.github.com/users/pixelzoom/following{/other_user}","gists_url":"https://api.github.com/users/pixelzoom/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelzoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelzoom/subscriptions","organizations_url":"https://api.github.com/users/pixelzoom/orgs","repos_url":"https://api.github.com/users/pixelzoom/repos","events_url":"https://api.github.com/users/pixelzoom/events{/privacy}","received_events_url":"https://api.github.com/users/pixelzoom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"pixelzoom","id":3046552,"avatar_url":"https://avatars.githubusercontent.com/u/3046552?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelzoom","html_url":"https://github.com/pixelzoom","followers_url":"https://api.github.com/users/pixelzoom/followers","following_url":"https://api.github.com/users/pixelzoom/following{/other_user}","gists_url":"https://api.github.com/users/pixelzoom/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelzoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelzoom/subscriptions","organizations_url":"https://api.github.com/users/pixelzoom/orgs","repos_url":"https://api.github.com/users/pixelzoom/repos","events_url":"https://api.github.com/users/pixelzoom/events{/privacy}","received_events_url":"https://api.github.com/users/pixelzoom/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-08-24T21:57:11Z","updated_at":"2015-08-25T18:42:20Z","closed_at":null,"body":"See `dir` and `keepBuildDir` options at:\r\n https://github.com/jrburke/r.js/blob/master/build/example.build.js. \r\n\r\nIt looks like if we set these, then `requirejs:build` will automatically clean (and create if necessary) the output directory."},"comment":{"url":"https://api.github.com/repos/phetsims/chipper/issues/comments/134697486","html_url":"https://github.com/phetsims/chipper/issues/317#issuecomment-134697486","issue_url":"https://api.github.com/repos/phetsims/chipper/issues/317","id":134697486,"user":{"login":"pixelzoom","id":3046552,"avatar_url":"https://avatars.githubusercontent.com/u/3046552?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelzoom","html_url":"https://github.com/pixelzoom","followers_url":"https://api.github.com/users/pixelzoom/followers","following_url":"https://api.github.com/users/pixelzoom/following{/other_user}","gists_url":"https://api.github.com/users/pixelzoom/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelzoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelzoom/subscriptions","organizations_url":"https://api.github.com/users/pixelzoom/orgs","repos_url":"https://api.github.com/users/pixelzoom/repos","events_url":"https://api.github.com/users/pixelzoom/events{/privacy}","received_events_url":"https://api.github.com/users/pixelzoom/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T18:42:20Z","updated_at":"2015-08-25T18:42:20Z","body":"Doc for keepBuildDir says:\r\n\r\n```\r\n    //As of RequireJS 2.0.2, the dir above will be deleted before the\r\n    //build starts again. If you have a big build and are not doing\r\n    //source transforms with onBuildRead/onBuildWrite, then you can\r\n    //set keepBuildDir to true to keep the previous dir. This allows for\r\n    //faster rebuilds, but it could lead to unexpected errors if the\r\n    //built code is transformed in some way.\r\n    keepBuildDir: false,\r\n```"}}