Skip to content

Commit

Permalink
fix activation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Apr 20, 2021
1 parent 1d21855 commit 51a19dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export default {
this.setupTargetManager();
this.setupBuildView();
this.setupErrorMatcher();
this.targetManager.refreshTargets();

atom.commands.add('atom-workspace', 'buildium:trigger', () => this.build('trigger'));
atom.commands.add('atom-workspace', 'buildium:stop', () => this.stop());
Expand All @@ -58,6 +57,7 @@ export default {
});

atom.workspace.onDidChangeActivePaneItem(() => this.updateStatusBar());
atom.packages.onDidActivateInitialPackages(() => this.targetManager.refreshTargets());

if (!atom.config.get('buildium.muteConflictWarning') && atom.packages.isPackageActive('build')) {
this.disableBuild();
Expand Down

0 comments on commit 51a19dc

Please sign in to comment.