Skip to content

Fix ember serve throwing .replace of undefined - #7875

Merged
rwjblue merged 2 commits into
ember-cli:masterfrom
thoov:fix-ember-serve
Jun 14, 2018
Merged

rwjblue merged 2 commits into
ember-cli:masterfrom
thoov:fix-ember-serve

Conversation

@thoov

@thoov thoov commented Jun 13, 2018 •

Copy link
Copy Markdown
Contributor

This issue was that the options param changed after: #7861. Specifically that rootURL and baseURL were taken off of commandOptions. This had a problem where the express-server when passing down the options into addons serverMiddleware hook would not contain those properties. An example https://github.com/ember-cli/ember-cli-inject-live-reload/blob/master/index.js#L37

thoov added 2 commits June 13, 2018 14:26
This issue was that the options param changed after:
#7861. Specifically that
rootURL and baseURL were taken off of commandOptions. This had a problem
where the express-server when passing down the options into addons
`serverMiddleware` hook would not contain those properties. An example
https://github.com/ember-cli/ember-cli-inject-live-reload/blob/master/index.js#L37
@thoov

thoov commented Jun 13, 2018

Copy link
Copy Markdown
Contributor Author

@rwjblue @stefanpenner Could you guys review?

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