-
Notifications
You must be signed in to change notification settings - Fork 137
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
v1 addon build watching gets stuck in a loop #1770
Comments
Does it also happen if you ran |
@mansona no it doesn't |
Well that is fishy 🤔 Is there any specific reason why you would want to use the |
Oh, a number of reasons:
|
Okay, I think I've finally gotten to the bottom of this and it's messy. I haven't had the chance to try this with watchers other than The reason that this only reproduces with I think the solution here should be for ignored: [
path.resolve(this.project.root, 'node_modules/.embroider'),
], here and add path.resolve(this.project.root, 'node_modules/.embroider'), here (even though that's not strictly necessary to fix the bug). But that's kinda putting an I tried changing this to be a So I'm not quite sure how to go about fixing this, and would love any thoughts. |
REPRO:
EXPECTED:
The build runs once, and only rebuilds when something in the addon is modified
ACTUAL:
The tests run, but there are continuous rebuilds in the background as the build watcher notices various changes in
node_modules/.embroider
I reproduced this on MacOS with
watchman
installed, but I believe it will reproduce on any OS.The text was updated successfully, but these errors were encountered: