-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Infinite .couscous/generated loop + excludes ignored #183
Comments
@geekish that's weird, |
I did a bit of retesting yesterday and I seem to be able to prevent the infinite loop from happening if I run couscous clear before couscous preview/generate. I was using the default directory. I'm noticing though that excludes are not taken into account in the LoadAssets step or the ProcessTwigFiles step, where new instances of Finder are used. |
Right because (IIRC) the template is in a sub-directory, so excludes apply to the root directory, do you have customized the template directory? And what about the 2 other questions? |
I was trying to preview a template in its own directory using As for running the command I was used a global composer install of couscous, and couscous.phar, both from directly inside the template repository, with no special options/flags. The repository isn't public because it's a WIP, but I will be sure to test |
Same here. I was testing https://github.com/CouscousPHP/Template-Basic Pretty big. You may check the disk usage: As @geekish said, after I removed these on template:
directory: . It works fine.
|
I'm getting an infinite loop of directories e.g.
.couscous/generated/.couscous/generated/...
.Couscous also appears to be ignoring my excludes, e.g.
bower_components
. I tried both the %gitignore% and listing every directory/file and neither worked. I'm not sure if this is the cause of the infinite loop, a side effect, or an unrelated bug.I tried using both my global install and a fresh, local couscous.phar. Same result.
The text was updated successfully, but these errors were encountered: