taggon / livereload

LiveReload plugin for Atom
MIT License
34 stars 13 forks source link

Package.getActivationCommands is deprecated. #12

Closed rhc-lconrad closed 9 years ago

rhc-lconrad commented 9 years ago

Reported on install; OSX, Atom Version 0.201.0 (0.201.0).

Use activationCommands instead of activationEvents in your package.json Commands should be grouped by selector as follows:

  "activationCommands": {
    "atom-workspace": ["foo:bar", "foo:baz"],
    "atom-text-editor": ["foo:quux"]
  }
Package.getActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:808:9)
Package.hasActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:733:20)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:185:24)
Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:163:15)
Package.load (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:177:12)
PackageManager.loadPackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:355:14)
taggon commented 9 years ago

4d09367488bdb1c7eb312a89e6034fa89c0c031d Fixed.