{"action":"created","issue":{"url":"https://api.github.com/repos/humanmade/S3-Uploads/issues/47","labels_url":"https://api.github.com/repos/humanmade/S3-Uploads/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/humanmade/S3-Uploads/issues/47/comments","events_url":"https://api.github.com/repos/humanmade/S3-Uploads/issues/47/events","html_url":"https://github.com/humanmade/S3-Uploads/issues/47","id":105266224,"number":47,"title":"Failing to keep a dynamic.css file in sync","user":{"login":"Grendel61","id":8753723,"avatar_url":"https://avatars.githubusercontent.com/u/8753723?v=3","gravatar_id":"","url":"https://api.github.com/users/Grendel61","html_url":"https://github.com/Grendel61","followers_url":"https://api.github.com/users/Grendel61/followers","following_url":"https://api.github.com/users/Grendel61/following{/other_user}","gists_url":"https://api.github.com/users/Grendel61/gists{/gist_id}","starred_url":"https://api.github.com/users/Grendel61/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grendel61/subscriptions","organizations_url":"https://api.github.com/users/Grendel61/orgs","repos_url":"https://api.github.com/users/Grendel61/repos","events_url":"https://api.github.com/users/Grendel61/events{/privacy}","received_events_url":"https://api.github.com/users/Grendel61/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-07T20:48:32Z","updated_at":"2015-09-07T20:58:46Z","closed_at":null,"body":"The theme I'm using creates a dynamic CSS directory within uploads, and then generates a CSS based on various updates of settings and other hooks. When the CSS is generated the directory must be deleted and then recreated. S3-Uploads deletes the file and directory from S3, but then doesn't recreate it. However, S3-uploads must not be detecting the file being re-created. The result is that the browser looks for a directory and a CSS file that it can't find, and returns a 403. \r\n\r\nIt seems like the detection of the deletion occurs, because the directory and the file are deleted from S3. However, the re-creation of the file goes undetected, so the new directory and file aren't uploaded to S3. \r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/humanmade/S3-Uploads/issues/comments/138376503","html_url":"https://github.com/humanmade/S3-Uploads/issues/47#issuecomment-138376503","issue_url":"https://api.github.com/repos/humanmade/S3-Uploads/issues/47","id":138376503,"user":{"login":"joehoyle","id":161683,"avatar_url":"https://avatars.githubusercontent.com/u/161683?v=3","gravatar_id":"","url":"https://api.github.com/users/joehoyle","html_url":"https://github.com/joehoyle","followers_url":"https://api.github.com/users/joehoyle/followers","following_url":"https://api.github.com/users/joehoyle/following{/other_user}","gists_url":"https://api.github.com/users/joehoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/joehoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joehoyle/subscriptions","organizations_url":"https://api.github.com/users/joehoyle/orgs","repos_url":"https://api.github.com/users/joehoyle/repos","events_url":"https://api.github.com/users/joehoyle/events{/privacy}","received_events_url":"https://api.github.com/users/joehoyle/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T20:58:45Z","updated_at":"2015-09-07T20:58:45Z","body":"@Grendel61 it looks like your `S3_UPLOADS_BUCKET` but be incorrect, it should be `foxtrotcode-media`, it looks like you may have set it to `foxtrotcode-media.s3.amazonaws.com`?"}}