-
Notifications
You must be signed in to change notification settings - Fork 99
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
incremental rebuilds do not include updates to .ts files #206
Comments
@jamesarosen I had a similar issue with |
1.3.0-beta.4 acts the same as 1.3.0 for me. (I assume you didn't mean 1.0.3-beta.4, since no such version exists.) |
@jamesarosen Interesting... your output here indicates something different than what's going on in #204. There, the file watcher is picking up on the change on disk (the Here, there's no |
Good intuition! The real path of my app is Separately, I'd love to investigate whether we can apply that regex only after the app root. |
Ok. I'm able to move the project directory, so this is resolved for me. If it's not easy to start applying that regex after the project root dir, could we add a warning if the project root itself matches that regex? I'm just trying to keep other people from falling into this pit. |
Glad that worked! Definitely agreed that this is a gotcha we should avoid—I think we ought to be able to do a better job just ignoring things after the project root. |
Environment
node 8.11.1
ember-cli 3.1.4
ember-cli-typescript: 1.3.0
typescript: 2.8.3
Problem
When I run
DEBUG=ember-cli-typescript* ember serve
…app/**/*.js
file, ember-cli ✅ sees the change, ✅ rebuilds, ✅ tells the browser to refresh, and ✅ responds with the updated/assets/myapp.js
.app/**/*.ts
file, it does all of those steps except the last. That is, the page refreshes, but the compiled JavaScript does not reflect my recent changes..ts
file and then a.js
file only the.js
changes are reflected inmyapp.js
..ts
file and thentouch
the same file, no changes are reflected inmyapp.js
.I get the following debug output when I change
app/components/my-component.ts
(and when Itouch
it):On
[email protected]
, I get the same behavior with slightly different logging output:Per #158, I've tried VSCode, vi, and
touch
to modify the file.Possibly related to #125, #158, #204
The text was updated successfully, but these errors were encountered: