Skip to content

Added settimeout to watch reload#10

Open
goliatone wants to merge 1 commit intofgnass:masterfrom
goliatone:settimeout
Open

Added settimeout to watch reload#10
goliatone wants to merge 1 commit intofgnass:masterfrom
goliatone:settimeout

Conversation

@goliatone
Copy link
Copy Markdown

Wrapped reload call on file change on a setTimeout so we can pass a delay option. If the current file being served changes, it will reload but the server will render a 404. If we a small delay it the file will be there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant