If you have a build-provider visible on http://atombuild.github.io, ping @noseglid and we’ll invite you to the slack dev channel!
setting()
gets called once. user edits the config, but the changes won't be read a second time. i tried preBuild()
, but without success
isEligible() {
let editor = atom.workspace.getActiveTextEditor();
if (typeof editor == 'undefined') {
return false;
}
// additional test would go here
return true;
}
atom.workspace.onDidChangeActivePaneItem( () => this.emit('refresh'));
in the constructor function