-
Notifications
You must be signed in to change notification settings - Fork 49
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
Error when enabling plugin 'macros': 'LiveReloadServer' object has no attribute 'watcher' #86
Comments
Welcome to this project and thank you!' first issue |
see this for an explanation: mkdocs/mkdocs#2448 |
@Lucartas Thanks! So, that would be an mkdocs issue? @edgarcamilocamacho If you comment out the macros plugin, do you get the same error? |
There's a description about the effects on on_serve in the mkdocs 1.2 release notes. ( I have tested a minimal mkdocs with and without the macros plugin and it only happens with it enabled. ) |
OK I can see more or less what the problem is. The issue located on that procedure. I guess we will have to rewrite the code so that it is compatible with both 1.2 and the previous ones. |
I issued an emergency fix (4bf847b), version 0.5.12. Let me know if that works for you (no exception and the watch list works correctly)? |
0.5.12 has stopped the failure for me (macos Catalina, Python 3.9 and Mkdocs 1.2), but I can't really say with certainty if any/all the scenarios for the watch list are working. |
@fralau 0.5.12 worked perfectly for me. Thanks very much for the incredibly fast response and solution!! |
How to install the fix (tagged as 0.5.12) using Found it! The following works like a charm! 🎉
|
@jaceklaskowski yeah... |
Same error, and your fix works. Thanks! |
@fralau should I close the issue? |
In principle yes. But I'd like to confirm that the watch mechanism for included pages (when other directories have been specified) still works. Anyone? |
Test passed ✅ (The If no one has any objections, let's 🚀 and deploy it on pypi? |
New version 0.5.12 released on pypi. |
Hello.
Using:
I am trying to enable the macros plugin. This is my
mkdocs.yml
file:But I get the following error when building:
I get the same error if I use other themes and if I disable extensions.
The text was updated successfully, but these errors were encountered: