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

API changes don't cause a rebuild while using the --watch command #10

Open
SilentSin opened this issue Apr 22, 2019 · 0 comments
Open

Comments

@SilentSin
Copy link

Changing an input file while using the --watch command causes it to automatically rebuild the site, but changing a source file in the referenced C# project does not. It would be nice if it did, but I'm not sure how straightforward it would be to get the paths of the source files from the project to watch them as well. It's easy enough to work around though.

Also, even when it does get rebuilt, auto links don't seem to account for changes to the API:

  1. Run Wyam with --watch and keep it running.
  2. Add a class called MyClass.
  3. Put a reference to MyClass in any of the input files where it would normally get auto-linked to that class in the API docs.
  4. Change something in an input file to cause a rebuild.
  5. That reference doesn't get auto-linked even though the new API page does exist.
  6. Close Wyam and restart it.
  7. Now it does get auto-linked properly.

Again, this is really minor and might not even be worth fixing because presumably it would mean spending more time rebuilding whatever cache the auto-linking system uses every time.

@daveaglick daveaglick transferred this issue from statiqdev/Statiq.Web Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant