njdehoog / witness Goto Github PK
View Code? Open in Web Editor NEWMonitor file system events using Swift
License: MIT License
Monitor file system events using Swift
License: MIT License
Hi @njdehoog,
I will be submitting a PR for this issue. Please review when at your earliest convenience.
I added a watch to a folder (Source
) with a file (first.txt
), and when I change the contents of that file, I get this exact event 150 times:
▿ FileEvent
- path : "/Users/revolt/Downloads/Source/first.txt"
▿ flags : Item created,Item Renamed,Item Modified,Item Change Owner,Item Is File
- rawValue : 4282624
Maybe I'm receiving the "Item created" event for a simple content modification because of Vim, but shouldn't I receive only one "Item Modified" event?
I tried using echo "new content" > first.txt
and I get a lot of times this event:
▿ FileEvent
- path : "/Users/revolt/Downloads/Source/first.txt"
▿ flags : Item Inode Meta Modification,Item Modified,Item Is File
- rawValue : 4264960
Hi!
We are using Witness in our project and this will be useful, if Witness make support SPM
It's possible?
Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
EventStream file of Witness. String 57
[![enter image description here][1]][1]
[1]: https://i.stack.imgur.com/g3fCp.png
I like that you added support for Swift Package Manager, but it needs to have a new tag (say 0.1.4). I can test things in my application by specifying the master branch, but I can't do that in my production version since the package management in Xcode will not allow the mix. Specifically I get the following:
because package libs-ebedcore is required using a version-based requirement and it depends on unversion package witness and no versions of libs-EbedCore match the requirement 2.3.1..<3.0.0, libs-EbedCore >=2.3.0 is forbidden.
And because root depends on libs-EbedCore 2.3.0..<3.0.0, version solving failed.
While I can work around that while I'm testing since I also use a branch for my libs-ebedcore library, when I switch to using a specific version, it fails complaining that the specific version (libs-ebedcore v2.3.0) is depending on a non-versioned (Witness) prerequisite.
Would you be willing to take your current commit "b046945" as version 0.1.4? That would help me out a lot.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.