Skip to content
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

Cross-platform CLI execution of "npm start". #6542

Merged
merged 1 commit into from
Mar 17, 2016

Conversation

bevacqua
Copy link
Contributor

Tested it on my local Windows computer.

Fixes #4962

@bevacqua
Copy link
Contributor Author

@w33ble Could you check this out? 💯

@w33ble
Copy link
Contributor

w33ble commented Mar 16, 2016

Were you using git bash? This change seems to work there, but not from the standard cmd.exe prompt in Windows. There, I just get:

`sh` is not recognized as an internal or external command,
operable program or batch file.

Granted, this is better than it was, but doesn't seem like the real fix. I'm ok merging this change though, if you add a note in the docs that git-bash is required on Windows to use npm start

@w33ble w33ble assigned bevacqua and unassigned w33ble Mar 16, 2016
@w33ble w33ble removed the review label Mar 16, 2016
@bevacqua
Copy link
Contributor Author

@w33ble Yes. I was. I think it's a decent compromise. Back when I developed on Windows this was pretty much a requirement for Windows boxes, so I wouldn't worry much.

@bevacqua bevacqua assigned w33ble and unassigned bevacqua Mar 16, 2016
@w33ble
Copy link
Contributor

w33ble commented Mar 16, 2016

I'm ok merging this change though, if you add a note in the docs that git-bash is required on Windows to use npm start

Can you add that requirement to the docs? Just update CONTRIBUTING.md and add a note around the part that recommends npm start that if you're on Windows, you'll need to be using git-bash.

@w33ble w33ble assigned bevacqua and unassigned w33ble Mar 16, 2016
@bevacqua bevacqua assigned w33ble and unassigned bevacqua Mar 16, 2016
@bevacqua
Copy link
Contributor Author

There we go!

@w33ble
Copy link
Contributor

w33ble commented Mar 17, 2016

we recommend

We don't recommend it, it's a hard requirement ;). Maybe something like:

On Windows, you'll need to run this in Git Bash, Cygwin, or a something similar that exposes the sh command.

@w33ble w33ble assigned bevacqua and unassigned w33ble Mar 17, 2016
@bevacqua bevacqua force-pushed the feature/cli-on-windows branch from 5eaa6f2 to 8fce2d2 Compare March 17, 2016 17:19
@bevacqua bevacqua assigned w33ble and unassigned bevacqua Mar 17, 2016
@bevacqua
Copy link
Contributor Author

There you go, @w33ble. Squashed.

@w33ble
Copy link
Contributor

w33ble commented Mar 17, 2016

Sorry for all the back and forth on this tiny change ;)

🏆

w33ble added a commit that referenced this pull request Mar 17, 2016
Cross-platform CLI execution of "npm start".
@w33ble w33ble merged commit b00a9d9 into elastic:master Mar 17, 2016
@bevacqua bevacqua deleted the feature/cli-on-windows branch March 17, 2016 18:11
@bevacqua
Copy link
Contributor Author

Don't be. Push for quality! 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants