From e4b55c4210985709ce0b41eb60c456a76cc60902 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 2 Oct 2013 16:20:13 -0700 Subject: [PATCH] :racehorse: 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. --- src/atom.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atom.coffee b/src/atom.coffee index 7d8508bc3..8b1ae12a5 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -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) ->