Questions tagged [watch]

Watch refers to observing the status of variables, files or directories for some or all possible actions such as additions, deletions or modifications.

Watch refers to observing the status of variables, files or directories for some or all possible actions such as additions, deletions or modifications.

1673 questions
0
votes
0 answers

Watch .oni files on Mac

is there a way to watch .oni files on Mac (OS X 10.10.2). I just need to watch them. I tried to install Openni following this tutorial http://www.theworldneedsmoredreamers.net/using-openni-2-2-beta-on-os-x/, but it didn't work for me. Thank you!
xava
  • 293
  • 1
  • 2
  • 16
0
votes
1 answer

How to make Sass watch css if files are being edited on the server?

I understand how to make a sass file watch a css file through the terminal. But this is only the case when the files are on my computer. How to set up the same process if I'm editing files directly on the server. When creating a website (I'm…
Alex
  • 357
  • 1
  • 12
0
votes
2 answers

AngularJS - $watch

I've the following html list : [...]
  • {[item.name]}
  • No result ...
I prefer use the ng-if than the ng-repeat…
CheapD AKA Ju
  • 713
  • 2
  • 7
  • 21
0
votes
1 answer

Why do watches seem to avoid firing when number is set to same value

I am trying to do something similar to this plunker. Notice that I use an ng-click event to set the value of the number back to the same number. However, the change does not seem to fire. $scope.$watch('value', function(newValue, oldValue){ …
Jackie
  • 21,969
  • 32
  • 147
  • 289
0
votes
2 answers

How to make a promise's then function work when the promised is resolved in a watch function?

I'm trying to fire some code after and when a user has made a selection from select menus. Therefor I was trying to use promises and the $scope.$watch function. I'm resolving the promise in that watch function but the then function of the promise…
Ray Za
  • 13
  • 1
0
votes
0 answers

Bind expressions once in Angular 1.0.X?

I'm running into some performance issues because one of my views can potentially have tons of expressions being bound and as a result tons watches firing for each. Is there a way to output an expression once and then not watch it for changes? I'm…
saricden
  • 2,084
  • 4
  • 29
  • 40
0
votes
1 answer

Grunt trouble running multiple tasks

My original problem was getting the watch to only execute minify/uglify against the file that changed and not everything. When it runs against everything I have to wait several seconds. I finally gave up on watch and reluctantly installed another…
user3448990
  • 323
  • 6
  • 15
0
votes
1 answer

designing Watch-face background

I am new to designing android wear watch-faces. My question was if i only had to make the background image in GIMP or also the pointers and time markers? if so How can I best do this? Are there any tips I need to know? Kind regards, Emma
0
votes
1 answer

$watch only called after minimum requirements

I noticed that when I set ng-minlength=6 to my input field, $watch only reacts once it meets this criteria, or any other requirements I set for it. How can I get it so that $watch is called before?…
Brian
  • 156
  • 1
  • 3
0
votes
2 answers

Why is $watch not firing even with objectEquality set to true?

In the following code, $watch should execute the function recalculateInfoBox when the variable scores changes. However, it does nothing. I have read the adding true as the third variable of $watch usually fixes the problem but in this case $watch…
Edward Tanguay
  • 189,012
  • 314
  • 712
  • 1,047
0
votes
1 answer

Android Watch Face Development

Here is gives me info: https://developer.android.com/training/wearables/watch-faces/service.html (Implement Service and Callback Methods) Where should this class be? Thanks!
0
votes
1 answer

Get current disk load

Since I can't use watch on iostat -dx 1 to get the current disk load, I'd like to know if there is an alternative way to do this, e.g., doing calculations with the values contained in /proc/diskstats and/or some other files.
Jay
  • 347
  • 2
  • 5
  • 10
0
votes
1 answer

Watch external processes for read/write events in C?

Is it possible to watch external process by its pids for read/write events? In particular I want to write a program which counts bytes an external process has written to stdout, stderr or FILE*. Desired platform is Linux. Note: I cannot change…
arminb
  • 2,036
  • 3
  • 24
  • 43
0
votes
3 answers

JS reference inside function and watch

I have something wrong with the following code. I can't understand what is wrong with it. function some(){ for (var i=0;i<....;i++) { var oneObject; ...some logic where this object is set oneObject.watch(property,function(id, oldval,…
user2022068
0
votes
1 answer

Angular $scope.$watch is not triggered when i assign $scope to another variable and change the watched value on new variable

I have an array and a watcher in my $scope. Watcher detects changes on the array property. Watcher works as expected: triggers listener when i update array contents. When I assign my $scope to some other variable (var newScope = $scope),…
Suren Aznauryan
  • 206
  • 3
  • 10
1 2 3
99
100