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

Provision to auto index any new file added to the directory #2

Closed
kushaldas opened this issue Aug 10, 2018 · 3 comments
Closed

Provision to auto index any new file added to the directory #2

kushaldas opened this issue Aug 10, 2018 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@kushaldas
Copy link

If a new file gets added to the directory, it should be able to auto index that file.

@farhaanbukhsh
Copy link
Member

Hey I have tried to bring auto-indexing.

This is the approach I have followed:

Whenever you start the server it basically indexes the files as configured in the RootDirectory.
I used fresh as tools helps me to restart the server when it detects the change in file.

For now the bottle neck it, fresh is not able to recognise nested subdirectories.

@farhaanbukhsh
Copy link
Member

This is partially fixed so we will keep it open.

@hellozee hellozee added enhancement New feature or request help wanted Extra attention is needed labels Oct 23, 2018
@hellozee
Copy link
Collaborator

We can use https://github.com/radovskyb/watcher for implementing auto indexing and not depend on fresh for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants