Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Encore: add guide to use Encore in a virtual machine#11422

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
Kocal wants to merge3 commits intosymfony:3.4fromKocal:encore/virtual-machine
Closed

Encore: add guide to use Encore in a virtual machine#11422

Kocal wants to merge3 commits intosymfony:3.4fromKocal:encore/virtual-machine

Conversation

@Kocal
Copy link
Member

Hi, ✋

As the title says, this PR add a new guide for using Encore in a virtual machine.

This is what we use on ours Symfony apps at work which run inside a Vagrant VM.
It works really fine and I thought it would be helpful to share it with other people.

Also, I've removed a sub-section in the actual doc because according tosymfony/webpack-encore#277, it was not working because some additional configuration was missing (and I can confirm it because I'm one of his co-worker 😛).

Copy link
Member

@javiereguiluzjaviereguiluz left a comment

Choose a reason for hiding this comment

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

Nice! This was always a bit obscure and I'm glad that some Encore expert is contributing new docs for it. Thanks.

Kocal reacted with heart emoji
Encore.configureWatchOptions(watchOptions => {
watchOptions.poll = 250; // check for changes every 250 ms
});

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe also add a note here about the CLI equivalent (--watch-poll)?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Yep why not, but it means that the user will have to pass--watch-poll two times in itspackage.json 😕

@Kocal
Copy link
MemberAuthor

Thanks@javiereguiluz and@Lyrkan, reviews have been applied :)

@javiereguiluz
Copy link
Member

Hugo, thanks as always for contributing these docs. We made some minor rewords while merging ... but we maintained most of your original work.

@KocalKocal deleted the encore/virtual-machine branchApril 25, 2019 09:40
@Kocal
Copy link
MemberAuthor

Don't worry and thanks for the rewords. Next time will be better! :)

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@javiereguiluzjaviereguiluzjaviereguiluz left review comments

+1 more reviewer

@LyrkanLyrkanLyrkan left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

4 participants

@Kocal@javiereguiluz@Lyrkan@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp