-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider a user setting or a different default other than install #22
Comments
+1 this is a needed feature |
I ended up just changing apm-npm.js line 45 |
+1 |
If we're changing this, we need to know what we should change to. What would a "sane" default be? |
It should be a setting option. Nothing should be defined as default (but if required I would choose "start"). If no default is defined by the user when executing build the target selection should be shown. The benefit here is the ability to define the default target by myself. I want to run the script "build" in 99% of all cases (automatically on save), so that should be my default. |
Making it configurable should be relatively straight forward. This package needs to check it's configuration - if any of the returned targets from npm is equal to the configuration, put that first in the list. Having it show the select target list if no default has been set needs a change in the build core package and might be a bit more involved. All though worth considering. |
Accidentally hitting F9 when it is an npm install is a bummer in a way.
The text was updated successfully, but these errors were encountered: