You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having an issue with the before hook on app.coffee where the Roots compilation doesn't appear to wait for the promise to be resolved before compiling.
In an empty Roots project, I would expect that this code would cause Roots to never compile.
This is a problem for me because I am trying to fetch content from an API in multiple requests and I am needing Roots to wait until all of the requests have been made before it compiles the site.
Any help would be much appreciated!
Thanks,
The text was updated successfully, but these errors were encountered:
Hey actually, anyone interested in trying to submit them patch themselves? This is a fairly straightforward change if you understand how promises work 😁
Hey,
I am having an issue with the before hook on app.coffee where the Roots compilation doesn't appear to wait for the promise to be resolved before compiling.
In an empty Roots project, I would expect that this code would cause Roots to never compile.
This is a problem for me because I am trying to fetch content from an API in multiple requests and I am needing Roots to wait until all of the requests have been made before it compiles the site.
Any help would be much appreciated!
Thanks,
The text was updated successfully, but these errors were encountered: