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
0 answers

Babel - Uncaught ReferenceError: exports is not defined

We switched from Uglify.js to Babel & Babel minifier, yet while Babel and Babel minifer seem to work fine, using ES6 import/export give me some trouble on the browser page. I am using WebStorm as an IDE and I use a Babel file watcher to…
0
votes
1 answer

WebStorm File Watcher is not working, access denied

When trying to compile a project, the File Watcher breaks down to compile .sass files into .css via WebStorm. The error message looks like this: The watcher has been disabled. Error: Cannot run…
existentia
  • 308
  • 2
  • 12
0
votes
0 answers

Rails reload requires a new login/clears session

I'm currently finding my dev loop to be rather slow. I'm using the file_watcher config in development.rb to allow the rails server to reload when files have changed. The issue I'm running into, however, is that the reload appears to be clearing the…
ryanpback
  • 275
  • 4
  • 17
0
votes
2 answers

I need my Control-M File Watcher job to pick up a file having a specific type of file pattern name

I have files of two file pattern HUB.SG.20220902.01.P and HUB.SG.20220902.001.P in the second file name the .001. will keep on incrementing like the next file will be HUB.SG.20220902.002.P . . . HUB.SG.20220902.100.P and so on but the first file…
0
votes
1 answer

How do I notify the main form from a called filewatcher class on error?

I have a form that I'm calling a class that creates a filewatcher and does varies other things when the filewatcher fires. If an error occurs during the the filewatcher changed event, I need to let the main form know there was an issue. My…
0
votes
1 answer

Hot restart/reload not always working in flutter

I think it has something to do with this warning I keep getting from dart sdk Socket error: FileSystemException: Directory watcher closed unexpectedly, path = 'c:\Users\Saad\OneDrive\Documents\Scripts\mutanafisun' I searched for a solution for it…
saad shayah
  • 1
  • 1
  • 2
0
votes
1 answer

Monitor Files/Polling or File Watcher in FTP location using Java

I was using File Watcher to monitor files in local. Is there any way to monitor files in FTP. I have heard Spring Integration. Does Spring integration solve the issue.
TheUnborn
  • 27
  • 3
0
votes
0 answers

Intellij Filewatcher, how to hard code what file to compile?

I have got the same issue as the guy in this post: https://intellij-support.jetbrains.com/hc/en-us/community/posts/206447829-File-watchers-issues-and-LESS @Andriy Bazanov suggests to "hard code what file to compile". My question is, how do you do…
Sebastian Nielsen
  • 3,835
  • 5
  • 27
  • 43
0
votes
0 answers

FileSystemWatcher is not working on network paths

I have a FileSystemWatcher that runs on the network folder, and it worked for a week without any issue after I deployed it into the server. After that, FSW doesn't work, and I have to re-deploy to make it work. I am not sure exactly what I am…
Bhargav
  • 97
  • 1
  • 1
  • 9
0
votes
1 answer

I'm having an issue running multiple npm scripts using "parallel shell" - code: 'ERR_INVALID_ARG_TYPE'

Good day developers, I'm having an issue running multiple npm scripts using parallel shell. Here are the dependencies in my package.json file: { "name": "confusion", "version": "1.0.0", "description": "This is a website for Ristorante Con…
0
votes
1 answer

npm-watch runs only once

I tried to use npm-watch as file watcher to compile scss files. As I run npm run watch, the script runs and does what I expected. But after the run, it immediately ends and does not run again on file change. In other words, it works but it does not…
Čamo
  • 3,863
  • 13
  • 62
  • 114
0
votes
2 answers

Apache Camel File-Watch Without Spring

I am trying to use Apache Camel File-Watch feature. However I notice all example are used along with Spring. Is there anyway to make use of this feature without Spring ? Thank you for any potential input. Best regards.
0
votes
1 answer

WebStorm file watcher does not work after Mac update

This is the current settings: Arguments: $FileName$ $ProjectFileDir$/css/$FileNameWithoutExtension$.css --source-map true --output-style expanded Output paths to refresh :…
0
votes
0 answers

Scala - DirectoryWatcher library; Thread is not blocked

I am new to scala and have been trying to implement the directory watcher using https://index.scala-lang.org/gmethvin/directory-watcher/directory-watcher-better-files/0.13.0 library, but I am facing watching a directory recursively. I am running in…
0
votes
1 answer

Spring integration file watcher

I am using spring integration for file watcher and I am successfully able to poll file in the specified time. But I want to look into the specified directory and get the list of files and process them rather than processing individual files .below…
Samatha
  • 5
  • 1