Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Sometimes project keeps reloading on Meteor 1.6-beta.15 #8988
I sadly can't say that much about this problem, but maybe someone who also had this can step in:
I've updated Meteor to
Here's exactly what I do and see:
Here I see the following (after removing duplicated and empty lines):
To me it now seems that something either in
Anyone having an idea of how to go on debugging? I'm quite assured this error will come again in a few hours.
An interesting fact though:
If I now change a file (and thereby cause a new project-build), the current attempt is aborted and the next one will get through.
Should fix #8988 and #8942. Now that #8866 is the default behavior, it can take up to 5000ms for changes to files modified during the build process to be noticed. Before #8866, when we called e.g. files.writeFile(path), a native file watcher would notice the change immediately, almost always before the build process read the file again. This was definitely racy, but we were getting away with it consistently... until #8866. I was able to reproduce the problem in #8988 by running echo some-local-package-name >> .meteor/packages in an app with a local package of the given name. After debugging the endless rebuild cycle, I found that .meteor/versions was being rewritten by files.writeFile during the build process, but the file watching system was not noticing the change in time to prevent watch.isUpToDate from returning true. The change was finally detected when restarting the Watcher responsible for .meteor/versions, which of course triggered another rebuild, so the same problem kept happening again and again.