Teamwork/node-auto-launch

Option to set 'KeepAlive' on mac

Open

#63 opened on Oct 15, 2017

View on GitHub
 (1 comment) (0 reactions) (1 assignee)CoffeeScript (911 stars) (111 forks)batch import
good first issuehelp wanted

Description

  • The target platform(s) the problem occurs on (Linux, Mac, Mac App Store, and or Windows): Mac
  • Node version (run node -v): 6.10.0
  • auto-launch version: 5.0.1
  • The options you're passing to auto-launch:
  • Are you using NW.js or Electron - Electron main process
    • If so, which version?
    • If you're using Electron, are you using auto-launch from the main process or a renderer process?
  • Can you reproduce this with a simple Hello World example app?
  • If needs be, would you be able to provide us with a simple app (as simple as possible) which reproduces the problem? Yes

I notice that the plist is created with the <key>RunAtLoad</key> whose value is true. Is there any option to set <key>KeepAlive</key> to true also?

something like this -

          mac: {
            useLaunchAgent:true,
            keepAlive: true
          }

Contributor guide