{"action":"created","issue":{"url":"https://api.github.com/repos/substack/watchify/issues/172","labels_url":"https://api.github.com/repos/substack/watchify/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/substack/watchify/issues/172/comments","events_url":"https://api.github.com/repos/substack/watchify/issues/172/events","html_url":"https://github.com/substack/watchify/pull/172","id":65238327,"number":172,"title":"Skip temp file","user":{"login":"zertosh","id":830952,"avatar_url":"https://avatars.githubusercontent.com/u/830952?v=3","gravatar_id":"","url":"https://api.github.com/users/zertosh","html_url":"https://github.com/zertosh","followers_url":"https://api.github.com/users/zertosh/followers","following_url":"https://api.github.com/users/zertosh/following{/other_user}","gists_url":"https://api.github.com/users/zertosh/gists{/gist_id}","starred_url":"https://api.github.com/users/zertosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zertosh/subscriptions","organizations_url":"https://api.github.com/users/zertosh/orgs","repos_url":"https://api.github.com/users/zertosh/repos","events_url":"https://api.github.com/users/zertosh/events{/privacy}","received_events_url":"https://api.github.com/users/zertosh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-30T15:29:40Z","updated_at":"2015-03-30T15:32:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/substack/watchify/pulls/172","html_url":"https://github.com/substack/watchify/pull/172","diff_url":"https://github.com/substack/watchify/pull/172.diff","patch_url":"https://github.com/substack/watchify/pull/172.patch"},"body":"Using a dot file in the same dir as the outfile causes problems like https://github.com/substack/watchify/issues/140 https://github.com/substack/watchify/issues/154.\r\n\r\nUsing the system tmp dir and then renaming doesn't work across partitions https://github.com/substack/watchify/issues/171.\r\n\r\nDespite https://github.com/substack/watchify/pull/161/files#issuecomment-84511330 (\"[the] feature was added in the first place to protect against delivering incomplete, partial content\"), we should try not using an intermediate file. This how browserify already works when you use its `--outfile` option. I would argue that receiving incomplete/partial content because the user didn't wait is no more egregious than writing out to the file a `console.log(JSON.stringify(err));` - since incomplete content will almost certainly be syntactically invalid and thus would error if used."},"comment":{"url":"https://api.github.com/repos/substack/watchify/issues/comments/87724193","html_url":"https://github.com/substack/watchify/pull/172#issuecomment-87724193","issue_url":"https://api.github.com/repos/substack/watchify/issues/172","id":87724193,"user":{"login":"zertosh","id":830952,"avatar_url":"https://avatars.githubusercontent.com/u/830952?v=3","gravatar_id":"","url":"https://api.github.com/users/zertosh","html_url":"https://github.com/zertosh","followers_url":"https://api.github.com/users/zertosh/followers","following_url":"https://api.github.com/users/zertosh/following{/other_user}","gists_url":"https://api.github.com/users/zertosh/gists{/gist_id}","starred_url":"https://api.github.com/users/zertosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zertosh/subscriptions","organizations_url":"https://api.github.com/users/zertosh/orgs","repos_url":"https://api.github.com/users/zertosh/repos","events_url":"https://api.github.com/users/zertosh/events{/privacy}","received_events_url":"https://api.github.com/users/zertosh/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T15:32:20Z","updated_at":"2015-03-30T15:32:20Z","body":"@substack If you get a chance, please chime in on this. I'll hold off a day before merging."}}