Skip to content
This repository was archived by the owner on Apr 11, 2018. It is now read-only.

v2.0.0

Choose a tag to compare

@maxrimue maxrimue released this 18 Dec 21:45
· 95 commits to master since this release
  • New -f/--find option for the doctor command
    Using the -f/--find option, the doctor command finds all enabled services first, and then evaluates all paths that are used for each service, to display you all services that belong to broken paths. This is useful if you've enabled autostart for a project you've now deleted.
  • Switched err and isEnabled callback parameters for isAutostartEnabled()
    Now, a proper example for the isAutostartEnabled() looks like this:
var autostart = require('node-autostart');   

autostart.isAutostartEnabled(myModuleName, function(err, isEnabled) {
  if(err) {
    console.error(err);
  }

  console.log('Autostart is', isEnabled ? 'enabled' : 'disabled');
};
  • Further tweaked tests and coverage