Skip to content

Instantly share code, notes, and snippets.

@AaronNGray
Last active October 6, 2019 18:40
Show Gist options
  • Save AaronNGray/0997fdf8300f3bd40171e97fc745c09d to your computer and use it in GitHub Desktop.
Save AaronNGray/0997fdf8300f3bd40171e97fc745c09d to your computer and use it in GitHub Desktop.
# /Users/user/Scripts/npm_lazy.sh
#!/bin/sh
npm_lazy --config --config ~\npm_lazy.config.js
# ~/Library/LaunchAgents/org.npm_lazy.launcher.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.npm_lazy.launcher</string>
<key>Program</key>
<string>/Users/user/Scripts/npm_lazy.sh</string>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment