Comments (15)
looking
from sane.
i think the easiest solution is to make sure any file matches one of the globs before being emitted. another solution would be to filiter the files in the recReaddir
callbacks, though i think that's more complicated.
from sane.
wait, where are you getting this list of files from?
I can't repro
from sane.
i'm doing:
console.log(watcher.globs)
console.log(Object.keys(watcher.watched))
from sane.
oaky. you know waht. i can't reproduce anymore either. wtfff.
closing haha.
can you release 0.3.1 please? i think component build -w
is done
from sane.
btw this shit is so fast
from sane.
.watched
is internal wouldn't tell you what is really being watched.
publish have been failing with me all day. npm ERR! publish fail Cannot publish over existing version.
any idea?
from sane.
meh. just publish another version. lol
from sane.
noticed that on 0.10, events have a 300ms delay and on 0.11, events have a 100ms delay. do you know why that is?
from sane.
no idea
from sane.
publish is fucked, can't publish anything, npm is so broken
from sane.
seriously. this is why i like component and using github as a registry :D
from sane.
alright published
from sane.
btw if you're interested, this.watched
is big, because it watches everything in case at some point something appeared in one of the directories that matches our glob we should be able to emit an event. Maybe optimizations exist but the library needs to understand globs much deeply to do this optimizations.
from sane.
yeah i don't completely understand the code yet. at least it's readable though, unlike other watcher libs i've seen _
from sane.
Related Issues (20)
- add utilize to "autodetect" best watcher.
- bump engine support to node version that are supported.
- bump engine support to node version that are supported.
- Update exec-sh dependency HOT 5
- Invalid tag name "[email protected]": Tags may not have any characters that encodeURIComponent encodes. HOT 1
- Why the [email protected] don't support node 9.*.* HOT 2
- Watching file recursively HOT 6
- Bundle size
- Renaming directories with childs on windows locked HOT 1
- Watchman does not understand micromatch globs HOT 9
- Multiple package locks HOT 1
- Support for more Node.js versions HOT 1
- Is there support for killing the currently running process? HOT 1
- Consider dropping `node@6`. HOT 2
- upgrade to v ^4.x.x of micromatch to avoid npm vulnerability 1490 in kind-of
- OS Command Injection in execa (execa@^1.0.0) HOT 4
- High severity vulnerability detected in sane dependencies HOT 1
- High Vulnerability is found in the dependency. HOT 1
- EMFILE: too many open files, watch HOT 1
- minimist <= 1.2.5 have an vulnerability
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sane.