mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Only reload non-theme packages on reload of themes
This commit is contained in:
@@ -161,7 +161,9 @@ class Atom
|
||||
|
||||
watchThemes: ->
|
||||
@themes.on 'reloaded', =>
|
||||
pack.reloadStylesheets?() for name, pack of @packages.getActivePackages()
|
||||
# Only reload stylesheets from non-theme packages
|
||||
for pack in @packages.getActivePackages() when pack.getType() isnt 'theme'
|
||||
pack.reloadStylesheets?()
|
||||
null
|
||||
|
||||
open: (options) ->
|
||||
|
||||
Reference in New Issue
Block a user