noseglid / atom-build

:hammer: Build your project directly from the Atom editor
https://atom.io/packages/build
MIT License
248 stars 97 forks source link

Infinite loop if no target #484

Closed boozook closed 7 years ago

boozook commented 7 years ago

I got the infinite loop of calls isEligible method for all build-providers. It happens if I have no any .atom-build.*-file;

For localise & reproduce this issue I was create a new atom-plugin with empty provider contains isEligible() { console.debug("LOOP HERE"); return false; }

atom-build loop issue mov opt

Steps for reproduce:

  1. Open any/new project;
  2. Call build:select-active-target (press F7 by default)
boozook commented 7 years ago

Loop is here.

noseglid commented 7 years ago

This should be fixed. Thanks for report.

As a workaround it seems as if you add a .atom-build.yml with a single target it it shouldn't occur. This helps you work with the package until this is fixed.

boozook commented 7 years ago

👍