diff --git a/src/app/root-view.coffee b/src/app/root-view.coffee index ed0a88124..c68249c01 100644 --- a/src/app/root-view.coffee +++ b/src/app/root-view.coffee @@ -41,6 +41,7 @@ class RootView extends View window.rootView = this @packageStates ?= {} @packageModules = {} + @handleEvents() if not projectOrPathToOpen or _.isString(projectOrPathToOpen) pathToOpen = projectOrPathToOpen @@ -50,8 +51,6 @@ class RootView extends View config.load() - @handleEvents() - if pathToOpen @open(pathToOpen) if fs.isFile(pathToOpen) and not suppressOpen else