How to use forever-monitor with Electron-Angular project?

I don't think it is a good idea to set your script in the assets directory. I would prefer it to be packaged as an extra resource.

the next snippet will permit to launch your node process

  var child_process = require('child_process');
   var child = child_process.fork('notification-process.js',[],{
      cwd : 'resources'  
      }); 

If it does not work once packaged, this may be involved because your files have not been packaged .To package it as an extra resource, modify package.json as follow : this will package webserver folder to resources/webserver folder:

 "target": [
    "win": {
      "target": "nsis",
      "icon": "build/icon.ico",
       "extraResources" : [{
        "from" : "webserver",
        "to" : "webserver"}
    ]
    },

for reference, have a look at : https://nodejs.org/api/child_process.html#child_process_child_process_fork_modulepath_args_options