-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
feature: support overriding host name on au run, and e2e tests #1132
Conversation
Please update |
Add help documentation for `host` argument of the `au run` command in run.json file
change the code slightly to be backward compatible with existing applications.
Looks great. "open" can be removed from cli package.json too. |
This makes all bundlers to behave similarly when using webpack
The auto open browser option can now be configured both from aurelia.json file or as an --open flag from au run command
Add "localhost" as the default value in the absence of `host` value in the `aurelia.json` file, or in the `--host` flag of the `au run` command
@3cp, the CLI bundler part is tested with If
if CLI bundler has been selected, only
For the |
browserSync supports host option too, you can update in the run task. |
Typo in run.json for host description of webpack skeleton
Report the --host value as well as urls
karma-coverage > [email protected]: This module is no longer maintained, try this instead:
npm i nyc
Visit https://istanbul.js.org/integrations for other alternatives. should we change something for this warning? |
Not in this PR pls :-) |
Yes, I mean outdated istanbul. Replacing it looks like not a small change. |
Additionally small refactor in package manager to easily export NPM and Yarn. Added a new method `run` in base package manager.
…i into Sayan751-cli-less-webpack-build
We have merged and tested the webpack refactoring PR. The run task has been simplified to a wrapper of You can still pass You would need to rebase on top of current master and resolve the conflicts. |
@3cp |
Probably can do from outside. I updated release-check to use tree-kill to kill Probably you can use cross-spawn (for reliable win32 spawn) to spawn |
Or you can skip |
That was for I am not sure about |
This is what tree-kill solved in release-check. It seems normal kill will skip some child process. |
And one more thing, how could we tell |
I don't get your question. |
* Update port and host detection with the new mechanism of running webpack applications * Update shutdownAppServer method to return a Promise which resolves when the app server is down. * Add host to the aurelia.json
@3cp |
Seems you got lots of duplicated commits/changes with those merges. Do you mind to start clean with another branch on top of latest master? New PR is if needed. |
This pull request helps you to override the default running host on webpack configuration from
localhost
to whatever you serve theau run
command. This will help you to satisfy both #1122 and #1130e.g.
and you can still have the
--open
command line argument as well to satisfy #1130or simply
au run --open
to run the application onlocalhost:8080
There was a minor misbehavior with
--open
on my machine, it opens two tabs, that is also fixed in this PR.