Skip to content
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

deleting/moving files causes problems #24

Open
dominicbarnes opened this issue Jul 3, 2017 · 1 comment
Open

deleting/moving files causes problems #24

dominicbarnes opened this issue Jul 3, 2017 · 1 comment
Labels

Comments

@dominicbarnes
Copy link
Member

I've noticed that renaming or deleting a file causes subsequent builds to fail. I've not investigated the root problem yet, but I suspect the deleted files are still in the tree and being run through plugins. (so I'll need to come up with an elegant way to detect this case)

@dominicbarnes
Copy link
Member Author

I actually discovered the root problem. I'm working on an electron app, for which I'm generally just transpiling JS files in-place, rather than bundling them. Thus, when using mako-watch, the rebuilds are using the same initial list of entry files, and not recomputing them when files are moved around. (forcing me to restart the watcher each time I rename/add/delete a file, since they're all entries)

I'll take a look at the watcher to see if this is an easy fix to make.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant