---
title: "Discussion on \"How to watch a directory in Java?\" | Hashnode"
description: "Discussion on \"How to watch a directory in Java?\". Let’s say you want to watch a folder in your computer or server for any changes.\nIf a new file gets added you want to be notified.\nIf an existing file is modified you want to be notified.\nIf a file is deleted you want to be notified.\nAnd how do you d..."
url: "https://hashnode.com/posts/how-to-watch-a-directory-in-java/5fe33c20ddcb940a6d28c719"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to watch a directory in Java?](https://vijaysrj.hashnode.dev/how-to-watch-a-directory-in-java?utm_source=hashnode&utm_medium=feed)

Let’s say you want to watch a folder in your computer or server for any changes. If a new file gets added you want to be notified. If an existing file is modified you want to be notified. If a file is deleted you want to be notified. And how do you d...

Dec 23, 2020 · 8 min read · vijaysrj.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)

## Written by

[vijay srj](https://hashnode.com/@vijaysrj)

@vijaysrj

  
[View profile](https://hashnode.com/@vijaysrj)

Climbing up the mountain of full stack development one stone at a time

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
