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

Preprocess PHP to any text document using File Watcher In JetBrains Product

There are so many preprocessing or compiling languages, each with its own learning curve e.g. (scss, sass, jade,typescript ) and the number seems not to be reducing. Wouldn't it be cool if developers could execute PHP to produce any text document…
Koofah
  • 79
  • 1
  • 7
0
votes
1 answer

XCB File Watching?

I starting work on a file watching mechanism. On *nix systems it is looking to me kqueue, libnotify, and GioFileWatcher are my only solutions - https://developer.gnome.org/gio/stable/GFileMonitor.html It is a big task so I wanted to verify before I…
Noitidart
  • 35,443
  • 37
  • 154
  • 323
0
votes
0 answers

File watcher ignores other changes

PhpStorm is ignoring another changes when file watcher was triggered. I hope you will understand my problem. For example, when I am trying to write "display: block;" File watcher only takes "display: blo;" instead of "display: block;"
user4491462
0
votes
0 answers

Backup file from WIndows to Linux

Could anyone suggest some good ways of backing up a file from a Windows machine to a Linux platform using a batch file of powershell command? My goal is to monitor a file for modification using a powershell script on startup, and then to back it up…
xeuari
  • 68
  • 7
0
votes
1 answer

PhpStorm: Automatically deploy .css file after file watcher transpiled .scss file

I am deploying my project automatically to a remote server. All files that are changed are automatically uploaded to the server, so this is OK. I have a file watcher (Compass SCSS) to transpile my .scss into .css. When the .sccs file is changed it…
Bram
  • 1
  • 1
0
votes
1 answer

SystemFileWatcher in side multithread not working

I am trying to watch changes occurring to files in all the USB storage devices that are connected to my PC. To do that I wrote a c# console application but it is not working only giving a blank screen. please someone help me to do this class …
Hybrid Developer
  • 2,320
  • 1
  • 34
  • 55
0
votes
1 answer

Phpstorm Fails To Deploy/Upload Files Auto Generated By The JS & CSS YUI Compressor

I use PhpStorm 10.0.3 (the latest currently). Ever since version 8.0 I have added two YUI File Watchers under Settings > Tools YUI Compressor JS and YUI COmpressor CSS The file watcher settings are as recommended in any place I have read. For…
user3607612
  • 131
  • 1
  • 11
0
votes
1 answer

Delete file using file watcher not allowing me to delete second time

My task is to delete file once the processing is completed . I am using FileWatcher to complete this task. It is watching specific folder . Suppose If i copy one file and put that in filewatcher folder it is deleting. Second time when i copy the…
Narendra
  • 1,332
  • 2
  • 13
  • 16
0
votes
1 answer

PHPStorm ignores file after file watcher was triggered

PHPStorm (9.0.2) is ignoring my .scss files once the file watcher was triggered. They appear to be invisible in the file structure, but still are there (if you look with another program). There are no scopes or ignored files set up. After clearing…
mxp
  • 1
0
votes
1 answer

react.js jsx watch not generating files

I'm new to React.js and I want to use .jsx files for development. I have installed the react-tools and ran the command below as mentioned in the docs. jsx --watch src/ build/ The watcher is running and noticing my changes in my .jsx files. However,…
scripton
  • 228
  • 5
  • 15
0
votes
2 answers

PhpStorm LESS > CSS File watcher, auto upload?

I'm using PhpStorm 9 and in all my projects I use LESS and let PhpStorm transpile it to CSS. The thing is that if I have my deployment option "Upload changed files automatically to the default server" set to "upload on explicit save", it will…
0
votes
1 answer

Disable the SCSS sourcemap with PHPStorm 8.0.3 and Ruby 2.1

I don't want a sourcemap to be generated when I use the SCSS filewatcher in PHPStorm 8.0.3. Previously I used Ruby 2.0 and sent the enviroment variable sourcemap = none, but that doesn't work on my new development environment. The only thing that's…
Grim...
  • 16,518
  • 7
  • 45
  • 61
0
votes
1 answer

Context Pointer Lost in FSEventStreamCreate Callback (c++)

im trying to test a simple filewatcher in mac using the FSEvent Api. I get the callback with the events and everything seems to work but i can't recover the info contained in the info field of the context structure. Here is my code: void…
Sommerwild
  • 506
  • 1
  • 6
  • 18
0
votes
1 answer

webstorm file watcher scss, btn the file can't generated when .scss file imported in other files

example: file a: .class{ .......... } file b: @import "a"; b.css can generate but a.scss can't generate a.css How to simultaneously produce two files?`
0
votes
1 answer

Remote path watcher/lookup with time interval

I have a below requirement to my java application, I need to lookup/watch the remote folder or FTP(Example : \192.168.300.55\c$\logs) for particular time interval(Example : 15 Mins) and i need to compare the local folder(which i have created…
sasikals26
  • 835
  • 2
  • 18
  • 41