Closed simonihmig closed 4 years ago
@simonihmig I'm oncall this week, so my time is pretty limited. If you ping me next tuesday, I can carve out some time :).
@stefanpenner ping! :) Don't want to steal your time, I just thought maybe this rings a bell? Like any known issues with file watching that you might know of?
For the first request to
_analyze
the middleware lazily enables the stats output inbroccoli-concat
and triggers a rebuild (to generate the stats output for the first time) bytouch
ingapp.js
(here.This kinda works, but not always:
it does work when running
ember s
inside the addon, thus servingtests/dummy/app
(it touchestests/dummy/app/app.js
)it does work when running inside an app, and using
watchman
it does not work when running inside an app without watchman, i.e.
sane
is usingfs.watch
. Instead of touching the file, I also tried appending new lines, or adding a completely new file. All that works, but it does not trigger a rebuild. If however I touch it outside of the node process, e.g. on the shell or my IDE, it rebuilds as expected. As if it is ignoring file events caused by its own process? Although it does work for the dummy app!? 🤔This is on OSX btw.
@stefanpenner sorry for pinging you, but I am pulling my hairs out on this, and already lost a few hours trying things out wildly without really having a clue... with all your insider knowledge of Ember CLI,
sane
and stuff, any idea about this?