# fs/unwatch
Cancel a watch previously created by `fs/watch`.
## Syntax
[fs/unwatch $watch-id]
## Parameters
- `$watch-id` — watch id returned by `fs/watch` (number)
## Examples
def wid [fs/watch "src/" {|flag file| echo $flag $file}] [fs/unwatch $wid]
## Returns
Boolean — `true` if a watch was removed, `false` otherwise.
## See Also
`fs/watch`