Remy Sharp
7250919e6d
fix: restore file count in verbose mode
2015-09-12 11:34:20 +01:00
Remy Sharp
438b8d7c0e
refactor: passing jscs
2015-09-09 22:30:43 +01:00
Remy Sharp
b0fd56f7de
refactor: move watch out in favour of chokidar
...
Plus jscs clean ups
2015-08-31 18:25:55 +01:00
Remy Sharp
2445e0ea48
Merge pull request #501 from remy/fix/352
...
Fix #352 [skip ci]
2015-02-11 10:02:02 +00:00
Remy Sharp
7e6fe7c945
Fixes #352
...
The find method wasn't known when it tries to add the directories to monitor. This change fixes that
2015-02-10 19:22:40 +00:00
Hugo Wood
5ab82aa31b
Fixed #482
2015-02-01 23:49:42 +01:00
Remy Sharp
b20bd8b3af
More windows fixes
2014-12-09 20:35:06 +00:00
Ross Hettel
4631a01a3d
ignore rules take priority in sorting
2014-07-21 16:28:20 -05:00
Remy Sharp
50976c2aee
Fixed #334
...
If a single file was being watched, it would use the tryBaseDir method to work out the directory, but fail as a pattern so it would return the base directory - which is too much. Now we test if that string is a real file or a directory, and if it is, it returns *that* back out.
2014-05-14 09:56:44 +01:00
Remy Sharp
8647107eb5
Merge pull request #338 from remy/fix/kill-subtree
...
Ensure *nix kills entire process tree.
2014-05-13 08:00:09 +01:00
Remy Sharp
7901854408
Ensure *nix kills entire process tree.
...
Fixes #333 and fixes #335 . Amazingly Windows support always had the full process tree being killed, but this solves it for mac and linux now. My only grip is we have a new dependancy for the project, but I don't really think that's such a big deal.
2014-05-12 22:41:26 +01:00
Remy Sharp
b4e45348aa
Fix #336 . Relative paths are resolved in rules.
2014-05-12 17:39:18 +01:00
Remy Sharp
b1e4111626
If a rule matches, only say it once.
2014-03-19 15:48:48 +00:00
Remy Sharp
641eb96cf5
-w <single file> ignores extension filter
...
Fixes #299 and fixes #308 .
This means if you use nodemon to monitor a .js script, but explicitly watch another file (that isn't .js) then nodemon *will* restart as expected.
2014-03-19 15:33:35 +00:00
Remy Sharp
85feec55d4
Merge pull request #307 from remy/fix/273
...
Fixed #273
2014-03-11 16:39:34 +00:00
Remy Sharp
9fb11fa7f0
Support for -w 'lib/**/foo.js' to match 'lib'
2014-03-11 15:31:00 +00:00
Remy Sharp
360a16c5dd
Put the find narrow method back in
...
In favour of attempting to find the basedir the pattern sits on, but only try when the path looks like a pattern, otherwise it's more likely to be an incorrect directory.
2014-03-11 15:16:32 +00:00
Remy Sharp
5664e575bd
Removed config.dirs.push to default to all
2014-03-11 14:47:04 +00:00
Remy Sharp
400f5bc69b
Fixed #281 . Can now watch with . and .*
2014-01-27 16:12:54 +00:00
Remy Sharp
34cb3a10fb
Fixed #268 relative paths on watches now work
2014-01-17 22:37:23 +00:00
Remy Sharp
ea5e925716
Patch to fix directory/* being ignored in ignore rule
2014-01-17 17:54:36 +00:00
Remy Sharp
fd0f9eb297
Allow ignore or watch to be strings. Not great, but useful.
2014-01-17 17:54:36 +00:00
Remy Sharp
b9b1cd5499
Moved watch+ignore conversion to match library
2014-01-16 23:45:50 +00:00
Remy Sharp
85b6349522
Fixed #260 by using watchFile.
...
Should also close #74 as it's a similar problem. Also clarified the system
flags.
2014-01-07 15:32:52 -08:00
Remy Sharp
589dffcc42
Watch lib/*.* ignores the extension check. Closes #255
2014-01-06 15:34:43 +00:00
Remy Sharp
a610aa3436
Better specificity in match process
2014-01-05 15:00:15 +00:00
Remy Sharp
08c758f884
Rule matching tested and passing
2014-01-05 00:45:38 +00:00
Remy Sharp
8eef00b334
Add new tests for match code and updated for monitor format.
2014-01-05 00:44:56 +00:00