title: Cannot receive message sent from main process to renderer process in Electron
body: <p>I'm sending a message from the main to the renderer process.</p>
  <p>In the main process, I'm doing this:</p>
  <pre class="lang-js prettyprint-override"><code>const ipcMain = require('electron').ipcMain;
  
  ipcMain.on('asynchronous-message', function(event, arg) {
     console.log('m i here');
     event.sender.send('asynchronous-reply', 'pong');
  });
  </code></pre>
  <p>In the renderer script, I'm doing this:</p>
  <pre class="lang-js prettyprint-override"><code>const ipcRenderer = require('electron').ipcRenderer;
  
  ipcRenderer.on('asynchronous-reply', function(event, arg) {
      console.log('In renderer again');
  });
  </code></pre>
  <p>However, it seems like the message is not received in the renderer process. What am I missing?</p>