<p dir="auto">[Enter steps to reproduce below:]</p>
<ol dir="auto">
<li>open $file in atom</li>
<li>delete $file</li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 0.199.0-f48351e<br>
<strong>System</strong>: linux 3.13.0-52-generic (Ubuntu 14.04)<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: ENOENT: no such file or directory, open $deletedFIle</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At events.js:141

Error: ENOENT: no such file or directory, open $deletedFIle
    at Error (native)"><pre class="notranslate"><code class="notranslate">At events.js:141

Error: ENOENT: no such file or directory, open $deletedFIle
    at Error (native)
</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="     -4:48.9.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused.autocomplete-active)
     -4:47.5.0 core:save (atom-text-editor.editor.is-focused)
     -4:08.9.0 core:cut (atom-text-editor.editor.is-focused)
     -4:08.6.0 editor:delete-line (atom-text-editor.editor.is-focused)
     -4:07.4.0 core:backspace (atom-text-editor.editor.is-focused)
     -4:05.1.0 editor:newline (atom-text-editor.editor.is-focused)
     -4:04.8.0 core:paste (atom-text-editor.editor.is-focused)
     -4:02.9.0 editor:move-to-beginning-of-word (atom-text-editor.editor.is-focused)
     -4:02.3.0 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -3:59.5.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
  3x -3:57.7.0 core:save (atom-text-editor.editor.is-focused)
  3x -1:17.8.0 core:copy (atom-text-editor.editor.is-focused)
     -1:15.5.0 core:paste (atom-text-editor.editor.is-focused)
  2x -1:14.1.0 core:save (atom-text-editor.editor.is-focused)
     -0:05.2.0 core:move-right (atom-text-editor.editor.is-focused)
     -0:04.4.0 core:save (atom-text-editor.editor.is-focused)"><pre class="notranslate"><code class="notranslate">     -4:48.9.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused.autocomplete-active)
     -4:47.5.0 core:save (atom-text-editor.editor.is-focused)
     -4:08.9.0 core:cut (atom-text-editor.editor.is-focused)
     -4:08.6.0 editor:delete-line (atom-text-editor.editor.is-focused)
     -4:07.4.0 core:backspace (atom-text-editor.editor.is-focused)
     -4:05.1.0 editor:newline (atom-text-editor.editor.is-focused)
     -4:04.8.0 core:paste (atom-text-editor.editor.is-focused)
     -4:02.9.0 editor:move-to-beginning-of-word (atom-text-editor.editor.is-focused)
     -4:02.3.0 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -3:59.5.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
  3x -3:57.7.0 core:save (atom-text-editor.editor.is-focused)
  3x -1:17.8.0 core:copy (atom-text-editor.editor.is-focused)
     -1:15.5.0 core:paste (atom-text-editor.editor.is-focused)
  2x -1:14.1.0 core:save (atom-text-editor.editor.is-focused)
     -0:05.2.0 core:move-right (atom-text-editor.editor.is-focused)
     -0:04.4.0 core:save (atom-text-editor.editor.is-focused)
</code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  &quot;core&quot;: {
    &quot;projectHome&quot;: &quot;/home/thomas/ws&quot;,
    &quot;disabledPackages&quot;: [
      &quot;tree-view&quot;,
      &quot;background-tips&quot;
    ],
    &quot;audioBeep&quot;: false
  },
  &quot;editor&quot;: {
    &quot;fontFamily&quot;: &quot;Source Code Pro Medium&quot;,
    &quot;fontSize&quot;: 14,
    &quot;invisibles&quot;: {}
  }
}"><pre class="notranslate">{
  <span class="pl-ent">"core"</span>: {
    <span class="pl-ent">"projectHome"</span>: <span class="pl-s"><span class="pl-pds">"</span>/home/thomas/ws<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"disabledPackages"</span>: [
      <span class="pl-s"><span class="pl-pds">"</span>tree-view<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>background-tips<span class="pl-pds">"</span></span>
    ],
    <span class="pl-ent">"audioBeep"</span>: <span class="pl-c1">false</span>
  },
  <span class="pl-ent">"editor"</span>: {
    <span class="pl-ent">"fontFamily"</span>: <span class="pl-s"><span class="pl-pds">"</span>Source Code Pro Medium<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"fontSize"</span>: <span class="pl-c1">14</span>,
    <span class="pl-ent">"invisibles"</span>: {}
  }
}</pre></div>
<h3 dir="auto">Installed Packages</h3>
<div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User
editorconfig, v1.0.0

# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
editorconfig, v1.<span class="pl-ii">0</span>.<span class="pl-ii">0</span>

<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
<p dir="auto">Some repro steps that I gathered from the existing issues:</p>
<ol dir="auto">
<li>Have a file open in branch <code class="notranslate">something</code> that doesn't exist in branch <code class="notranslate">atom</code></li>
<li><code class="notranslate">git checkout atom</code></li>
<li>ENOENT <g-emoji class="g-emoji" alias="boom" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4a5.png">💥</g-emoji><br>
OR</li>
<li>Have a file open in Atom that will be affected by <code class="notranslate">git rebase</code></li>
<li><code class="notranslate">git rebase</code></li>
<li>ENOENT <g-emoji class="g-emoji" alias="-1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44e.png">👎</g-emoji><br>
OR<br>
Just simply rename a file outside of Atom that's currently open inside of Atom.</li>
</ol>