<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>automation on Svenar&#39;s blog</title>
    
    
    
    <link>https://blog.svenar.nl/tags/automation/</link>
    <description>Recent content in automation on Svenar&#39;s blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Fri, 15 Aug 2025 19:42:18 +0000</lastBuildDate>
    
	<atom:link href="https://blog.svenar.nl/tags/automation/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Reacting to File Changes with Python and Watchdog</title>
      <link>https://blog.svenar.nl/posts/python_watch_files_with_watchdog/</link>
      <pubDate>Fri, 15 Aug 2025 19:42:18 +0000</pubDate>
      
      <guid>https://blog.svenar.nl/posts/python_watch_files_with_watchdog/</guid>
      <description>
        
          &lt;img src=&#34;https://blog.svenar.nl/images/thumbnail_python_watchdog.png&#34;/&gt;
          
        
        
        
          Sometimes you want to run code automatically when files change, like rebuild assets, trigger a script, or just keep an eye on what’s happening in a directory.
Instead of constantly polling or writing your own file watcher, Python’s watchdog library makes this painless.
How it works under the hood Operating systems already provide mechanisms to signal when files change:
Linux: inotify macOS: FSEvents Windows: ReadDirectoryChangesW Watchdog doesn’t reinvent the wheel. It wraps these low-level APIs in a Python layer, normalizes the events, and hands them to you via a callback system.
          
        
        </description>
    </item>
    
  </channel>
</rss>