diff --git a/package.json b/package.json index d59cf7262..59be2409f 100644 --- a/package.json +++ b/package.json @@ -75,6 +75,7 @@ "symbols-view": "0.5.0", "tabs": "0.4.0", "terminal": "0.9.0", + "timecop": "0.2.0", "to-the-hubs": "0.3.0", "toml": "0.2.0", "tree-view": "0.5.0", diff --git a/src/atom.coffee b/src/atom.coffee index 4e4f33add..63d395284 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -60,6 +60,10 @@ window.atom = _.values(@activePackages) loadPackages: -> + # Ensure atom exports is already in the require cache so the load time + # of the first package isn't skewed by being the first to require atom + require '../exports/atom' + @loadPackage(name) for name in @getAvailablePackageNames() when not @isPackageDisabled(name) @watchThemes()