Questions tagged [file-watcher]

A utility or library to perform actions when files are updated, added or deleted.

Common issues for file watcher utilities include

  • How to determine when files being added are fully available (IE: If a file is being FTPed to a directory, has the FTP process finished?)
  • How to notify interested consumers that a file has been updated/added/deleted
  • Scheduling issues such as whether the file watcher runs continuously or every xx seconds or minutes.
  • Whether a file is moved/archived after processing
  • Whether multiple input files that match a wildcard can be processed concurrently.

If your question is about the .NET component FileSystemWatcher also include the tag . For the Qt toolkit QFileSystemWatcher class also include the tag .

332 questions
0
votes
1 answer

Dataflow GCP (Apache Beam) - continuously reading big amount of files (OutOfMemory)

What I want to do: Read and uncompress GZ continuously files by pattern (~3000 files), each file has 1.2MB and 9 MB after unpacking Replace some sequence of characters from every of CSV files Compress CSV file to GZ and save modified files to its…
0
votes
0 answers

Update GCP Dataflow (Apache Beam) pipeline with continuous filepattern

I have pipeline like this: Read continuously CSV files -> modify them -> save modified ones The pattern used for continuously reading of files comes from my custom options. What I want to do is to be able to modify pattern by updating pipeline. But…
0
votes
1 answer

Wordpress SCSS file watcher - PhpStorm

I tried to look around here and over the internet, searching for a solution but i can't find anything that works with my current env. Let me explain how it is, i have a standard Wordpress project and i'm writing SCSS in [n] different…
Diego
  • 1,610
  • 1
  • 14
  • 26
0
votes
0 answers

PhpStorm file watcher "Error: Cannot find module" with babel plugins in a rollupjs script (no executable available), plugins globally installed

I can't seem to be able to resolve this, hoping someone might be able to help. I have configured a file watcher to check for changes in a source directory. When a change is found, it runs the following tool: - Program:…
U4EA
  • 832
  • 1
  • 12
  • 27
0
votes
1 answer

Is there a way to file watcher on all hard disk drives?

I have a scrip to detect some files created on Hard disk drive using win32file API with python from win32file import CreateFile, ReadDirectoryChangesW import win32con def Watcher(): ExtensionScan = ['exe', 'dll', 'vbs', 'com', 'jar'] …
0
votes
2 answers

How to determine when a text (.txt) file has finished being written to disk using a file watcher program

I had an outside company write a "file watcher" program in C#. The program reads an excel sheet that contains a list of file paths of folders to watch. The "file watcher" program watches to see if any new text (.txt) files appear in each of the…
XCELLGUY
  • 179
  • 2
  • 12
0
votes
0 answers

IntelliJ file watcher

I setup file watcher to execute script on PHP files changes in my project, but it get triggered even when no files was changed. Is it possible to see which particular change triggered watcher?
ogbofjnr
  • 1,688
  • 5
  • 19
  • 41
0
votes
1 answer

How to output an alert message when something changes in the directory (FileWatcher)?

I made a FileWatcher to control if something happens in a specific (path) directory. Now if something happens i want to output an alert message with the filename which was created or renamed, in the JavaScript file. But i don't know how to solve…
0
votes
0 answers

Thread ended with Code 0 - FileSystemWatcher?

I have an ASP.NET Project, where I want to use the FileSystemWatcher. To do that I created an class "Watcher": public class Watcher { [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] public static void Run() { …
Flo Hab
  • 20
  • 7
0
votes
0 answers

File Watcher generate .css file but don't refresh browser and don't apply CSS code

All my colleagues work on Visual Studio (me too before one week), but I switched to Rider. After setup my project I setup file watcher to compile SCSS to CSS. But I have weird issue when I change something in my SCSS file everything compiles to CSS…
Valery Mihaylov
  • 33
  • 1
  • 1
  • 4
0
votes
1 answer

I'd like to combine two css files before compressing with YUI Compressor

I need to combine site.css and theme.css into site.min.css using YUI Compressor or any other plugin as a file watcher on webstorm. I've already setup the YUI Compressor and I'm able to generate either site.min.css or theme.min.css but not both…
pissinali
  • 15
  • 6
0
votes
1 answer

How can you use the ResourceWatcher bundle from YoSymfony?

I am trying to make a file watcher where, when you add, update or delete a file, you can see the files updates in a database. I'm using the framework Symfony4 and a bundle from it called ResourceWatcher from YoSymfony. This bundle uses the Finder…
Michaeldc
  • 45
  • 10
0
votes
1 answer

System.IO.FileSystemWatcher fired only one time

Requirement is as follows Thru FTP client, user will upload file on FTP server Once file is copied, we need to process it and call batch file Once done, will wait for another file Below script is running fine for one file, but for next file, no…
Manish Joisar
  • 1,256
  • 3
  • 23
  • 47
0
votes
1 answer

File Watcher is giving error code 255 - Syntaxerror

I'm trying to get the IntelliJ / PhpStorm File Watcher to auto compile my SCSS via grunt. Grunt itself seems to work fine, it works at least correctly if I call it via Terminal. But the File Watcher does not seems to like my configuration. Every…
migmig
  • 7
  • 4
0
votes
1 answer

IntelliJ FileWatcher for SCSS not working

I would like to work in IntelliJ with SCSS files. I see tutorial and I try to follow it. But for some reason this is not working for me. WHAT I DID: (I have a mac computer) I download the node sass library : npm install -g sass I add file watcher :…
Marko Zadravec
  • 8,298
  • 10
  • 55
  • 97