{"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":3,"created_at":"2015-08-24T21:57:11Z","updated_at":"2015-08-25T18:41:26Z","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/134697287","html_url":"https://github.com/phetsims/chipper/issues/317#issuecomment-134697287","issue_url":"https://api.github.com/repos/phetsims/chipper/issues/317","id":134697287,"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:41:25Z","updated_at":"2015-08-25T18:41:25Z","body":"Hmmm... With the above additions to grunt config:\r\n\r\n```\r\n% cd john-travoltage\r\n% touch build/foo\r\n% grunt\r\n% ls -1 build\r\ndependencies.json\r\nfoo\r\njohn-travoltage_en-iframe.html\r\njohn-travoltage_en.html\r\n% \r\n```\r\n\r\nLooks like the build directory was not removed, since file 'foo' still exists.  The other files all have newer timestamps, indicating that they were replaced."}}