🐎 Only reload active package stylesheets

Previously all package stylesheets were loaded twice during startup,
once when the themes were loaded and once when the packages were
activated.
This commit is contained in:
Kevin Sawicki
2013-10-02 16:20:13 -07:00
parent 80e4e5f2cd
commit e4b55c4210

View File

@@ -145,7 +145,7 @@ class Atom
watchThemes: ->
@themes.on 'reloaded', =>
pack.reloadStylesheets?() for name, pack of @getLoadedPackages()
pack.reloadStylesheets?() for name, pack of @packages.getActivePackages()
null
open: (options) ->