- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.8k
Closed
Labels
A-SearchArea: SearchArea: SearchC-bugCategory: A bug, incorrect or unintended behaviorCategory: A bug, incorrect or unintended behavior
Description
Problem
Search index not being found when turn on hash-files flag:
When I list the files in the build step, I see the file has different hash:
Steps
- 
Add this to book.toml: [output.html] hash-files = true 
- 
Build the book: bin/mdbook build --dest-dir ./docs echo "Files:" ls -l docs 
- 
Notice the index file has different hash compared to the one used in the searcher.js: 
Possible Solution(s)
Maybe ensure that the generation of index file must be finished before the searcher file.
Notes
Live example:
https://cli.eshn.dev/epi-deployment-start-command.html
Version
mdbook v0.4.51
Metadata
Metadata
Assignees
Labels
A-SearchArea: SearchArea: SearchC-bugCategory: A bug, incorrect or unintended behaviorCategory: A bug, incorrect or unintended behavior


