Skip to content

Conversation

@robb-romans
Copy link
Contributor

  • Detect if we're on Docker for Mac (xhyve)
  • Otherwise, use docker-machine (Docker Toolbox)
  • Make IP variable more descriptive
  • Add check for grunt executable

* Detect if we're on Docker for Mac (xhyve)
* Otherwise, use docker-machine (Docker Toolbox)
* Make IP variable more descriptive
* Add check for grunt executable
@robb-romans robb-romans self-assigned this Aug 23, 2018
@robb-romans robb-romans requested a review from nimbinatus August 27, 2018 21:15
Copy link
Member

@nimbinatus nimbinatus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor note; not a blocker for merging.

script/refresh Outdated

DECONST=$(docker-machine ip ${DOCKER_MACHINE_NAME})
if ! [[ -x "$(command -v grunt)" ]]; then
echo "Error: grunt command not found. Please install it."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor note: I'd reword this error to be something like this to be a bit closer to the common shell error message. Might help folks who aren't too familiar with the terminal:

echo "Error: grunt: command not found. Install 'grunt' and retry."

@robb-romans
Copy link
Contributor Author

@nimbinatus thanks. updated.

@nimbinatus nimbinatus merged commit 4f7b65a into deconst:master Aug 28, 2018
@robb-romans robb-romans deleted the rr-fix-restart-osx branch August 28, 2018 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants