Skip to content

Conversation

@dfreeman
Copy link
Member

Incremental compilation was broken because app.js was being transformed into a file just called js.

This should also fix things when using a linked copy e-c-ts. The serve-ts diff is nasty, but all I did was wrap the module in a function so it could use project.require() to ensure the CLI imports always resolve to the host app's copy.

@chriskrycho
Copy link
Member

OH MY GOSH. Hero.

@dwickern
Copy link
Contributor

Thanks for figuring this out! So we are importing relative to the project root instead of process.cwd.

(also FYI you can add ?w=1 to the github diff URL to ignore whitespace)

@dfreeman
Copy link
Member Author

(also FYI you can add ?w=1 to the github diff URL to ignore whitespace)

This has to be about the fourth time I've learned that trick, but I always forget about it again by the next time I need it 🤦‍♂️

@dwickern dwickern merged commit 3f722d9 into typed-ember:fast-incremental-compiler Jan 24, 2018
@dfreeman dfreeman deleted the fast-incremental-compiler branch January 24, 2018 16:59
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.

3 participants