Reusing Electron session
<p>Say I have a <code>BrowserWindow</code> set up with the following options:</p>

<pre><code>{
  webPreferences:{
    partition: 'persist:example'
  }
}
</code></pre>

<p>I am also making a call to <code>app.setPath</code> to set <code>userData</code> to a local directory.</p>

<p>If I open my Electron application and log in, close the application, then open a new instance, I am still logged in.  This is expected session behavior.</p>

<p>However, if I open my Electron application and log in, then open a second instance of my application with the same <code>BrowserWindow</code> settings and same application paths, the second instance will not be logged in, despite being propped up to use the same user data and partition.</p>

<p>Shouldn't the second instance be able to use session information from the first instance without closing the first instance?  What am I doing wrong?</p>