Skip to content

Implements a basic "watch"#315

Merged
arcanis merged 2 commits into
masterfrom
mael/watch
Jul 31, 2019
Merged

Implements a basic "watch"#315
arcanis merged 2 commits into
masterfrom
mael/watch

Conversation

@arcanis
Copy link
Copy Markdown
Member

@arcanis arcanis commented Jul 30, 2019

When I say "basic" it means "just enough to be a noop for zip"; it should be fine anyway since the zip archives aren't expected to change (the calls are forwarded as-is for all other files).

Note that this diff doesn't include fs.watchFile because it already works great: since it's just a polling layer on top of the regular fs functions it doesn't need special support.

Ref: sveltejs/sapper#832

We really should find a way to test the fs, though ...

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