Skip to content
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

Rebuild bugs #342

Merged
merged 5 commits into from
Oct 21, 2019
Merged

Rebuild bugs #342

merged 5 commits into from
Oct 21, 2019

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Oct 21, 2019

This fixes two bugs around rebuilds:

  • changes to app CSS were not being reflected in the output
  • changes to public assets were not being reflected in the output

As part of this I had to undo #178. It turns out it was incorrect because:

  • it wasn't really reading the package.json as produced by the V1App. Instead it was reading its own output, which would cause it to merge the previous build on top of the current build
  • lodash merge's semantics are incorrect for our arrays like ember-addon.assets, so even if the merge was merging the right thing, it would still be wrong.

There's now test coverage for the things that broke, so a second try at fixing the fastboot package.json merging should be able to do better.

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.

None yet

1 participant