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

Add SASS file watcher to phpStorm

I'm trying to add SASS support to phpStorm, but I can not find SASS or SCSS file watchers in Settings menu. All I can add as a new file watcher are listed below: Closure Compile CSSO CSS Optimizer Traceur compiler TypeScript UgliftJS YUI Compressor…
artbazil
  • 11
  • 2
0
votes
1 answer

PHPUnit watchers : how to prevent multiple task execution when saving multiple files at once?

I have set up a watcher in PHPStorm which triggers the execution of a Grunt task when one of my PHP files is changed. This runs all well, however when I modify mutiple files at one (for instance when replacing a string in several files) the Grunt…
Bruno Pérel
  • 575
  • 6
  • 21
0
votes
2 answers

Is File Watcher available in Windows Mobile

I'll be developing a Windows Mobile 6 application for an industrial scanning device that has a camera. Assuming there is no SDK providing access to the camera and the resulting picture, does WM6 provide file watching ability similar to the desktop…
0
votes
1 answer

what is the meaning of FTP attributes in Filewatcher Property file?

The Properties file of a file watcher contains many attributes. I was not able to find the use of certain attributes. The attributes are FTPModeBinary and FTPConnectionPASV these take true or false as its value. Can anyone please help me to…
Vandhana
  • 501
  • 2
  • 7
  • 14
0
votes
1 answer

PhpStorm: open source JS file instead of min file when Ctrl+Clicking

I just started using File Watchers on PhpStorm to minify all my JavaScript in the project, and I've linked my docs already to the minified versions of the JS. The problem I'm having now is I lost the ability to JUMP to the JS source code…
BrownChiLD
  • 3,545
  • 9
  • 43
  • 61
0
votes
1 answer

Simple to implement filewatcher

I have a simple application which is sending XML data to a SQS Queue. I am looking for a simple to implement fileWatcher watching a directory in node that would return more information than fs.watch. Here's what I am trying to achieve: XML File…
steeveroucaute
  • 69
  • 2
  • 3
  • 9
0
votes
1 answer

Show `.map` files under their respectives files in WebStorm/IntelliJ

Using Filewatchers it's possible to show a generated file under it's respective source file: The problem I am having is that only the generated .jsfile is 'watched' and grouped whilst the .map file still shows up separately. Is there a way to set it…
David Mulder
  • 26,123
  • 9
  • 51
  • 114
0
votes
1 answer

FileWatcher issue

OK, so this time I created a service with a file watcher to process file once created. it seems that my service crashes when the files being processed reaches 1000 (I'm receiving loads of messages). here is my logic: files comes in, file watcher…
Ammar Ali
  • 77
  • 1
  • 3
  • 15
0
votes
1 answer

How to filewatch three folder at same time

I am now monitoring one folder at a time, and i am wondering how can i file watch three folders at same time. please see my updated codes below,,, i am wondering wether i should give m_Watcher.Path = draft; and m_Watcher.Path = release; and…
user4318274
0
votes
2 answers

File watcher for compass in phpstorm

i've been lately struggling with phpstorm file watchers. I'm trying to set up a Compass scss file watcher to work with this folder structure project themes default-bootstrap sass modules etc …
Depka
  • 85
  • 1
  • 13
0
votes
1 answer

C# FileSystemWatcher Event

I have to follow changes of one of folder. class FileWatcher { FileSystemWatcher watcher = new FileSystemWatcher(); [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] public void StartWatching() { watcher.Path =…
Advice Me
  • 79
  • 5
  • 13
0
votes
1 answer

Adding extension to file via filewatcher in WebStorm 9

I frequently have to send JS files through Outlook, which means that I have to modify the extension of the file to txt or the like so the recipient can receive it. I'd ideally like to implement a file watcher in WebStorm to simply output a child…
Whit Waldo
  • 4,806
  • 4
  • 48
  • 70
0
votes
1 answer

File Watcher error

My file watcher event read the first file only and then I get the following error: "Error: System.IO.IOException: The process cannot access the file 'D:\TREE\Dump\TF20141004011343313.txt' because it is being used by another process." Here is my…
Ammar Ali
  • 77
  • 1
  • 3
  • 15
0
votes
1 answer

webstorm file watcher not working on one file

We are currently working with TypeScript in Webstorm. We setup the fileWatcher a while a go. Everything was working fine. Yesterday, the file watcher stop working on one file, at least that I noticed. The other script file are working fine, but in…
David Laberge
  • 15,435
  • 14
  • 53
  • 83
-1
votes
1 answer

How to use FileWatcher to run script in WebStorm

I have a script in .restart file and I'd like to run it on save in WebStorm. I'm trying to use file watcher for that but all the time I'm getting error: /bin/zsh $HOME$/.restart /bin/zsh: can't open input file: $HOME$/.restart My configuration of…
K. Tys
  • 159
  • 1
  • 6