Skip to content

Make dev server binstub optional #1024

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

Merged
merged 2 commits into from
Nov 18, 2017
Merged

Make dev server binstub optional #1024

merged 2 commits into from
Nov 18, 2017

Conversation

gauravtiwari
Copy link
Member

@gauravtiwari gauravtiwari commented Nov 18, 2017

Fixes: #988 and #992

Since we now have proper binstubs.

@gauravtiwari gauravtiwari requested a review from dhh November 18, 2017 20:35
@gauravtiwari gauravtiwari merged commit d9ad255 into master Nov 18, 2017
@gauravtiwari gauravtiwari deleted the dev-server-optional branch November 18, 2017 22:16
@@ -53,7 +53,7 @@ def record_compilation_digest
def run_webpack
logger.info "Compiling…"

sterr, stdout, status = Open3.capture3(webpack_env, "#{RbConfig.ruby} ./bin/webpack")
sterr, stdout, status = Open3.capture3(webpack_env, "bundle exec webpack")
Copy link
Contributor

Choose a reason for hiding this comment

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

./bin/* binstubs aren't really needed when using bundle exec, right? If so, the check_binstubs name isn't really accurate. We only care that webpacker the gem is installed.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, I guess the whole./bin thing is now irrelevant. Will clean this up in another PR

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