Commit Graph

714 Commits

Author SHA1 Message Date
Remy Sharp
3feff5035e Fixed #468
My old spawn check was based on the minor value being >= 8, of course now io.js is 1.0.2, it wasn't using the new spawn method, and silencing user scripts.
2015-01-19 21:58:49 +00:00
Remy Sharp
d288c0defb v1.3.0 v1.3.0 2015-01-19 21:05:17 +00:00
Remy Sharp
7952f0c9c6 SVG logo!
[skip ci]
2015-01-19 20:59:19 +00:00
Remy Sharp
76445a628b Merge pull request #438 from remy/feature/pre-post-events
Early support for event callbacks
2015-01-19 12:46:30 -08:00
Remy Sharp
eb980a2036 separate out tests 2015-01-19 20:27:07 +00:00
Remy Sharp
242f03cdd9 Detail which events bound + test fix 2015-01-19 20:13:12 +00:00
Remy Sharp
90666b07df Update nodemon logo (to svg)
[skip ci]
2015-01-19 19:53:18 +00:00
Remy Sharp
cf134e5752 Updated note about iojs
[skip ci]
2015-01-19 19:43:52 +00:00
Remy Sharp
5016a38b0a Fixed crazy restart loop
Ensure we don't restart when the last find was 0 seconds ago
2015-01-19 17:07:17 +00:00
Remy Sharp
87db0ad553 Merge pull request #469 from xixixao/patch-1
Fix help doc string for watch [skip ci]
2015-01-19 07:51:54 -08:00
Michal Srb
768d617821 Fix help doc string for watch 2015-01-19 15:26:03 +00:00
Remy Sharp
1bb7c01fb6 Check of object hasOwnProp method 2015-01-18 10:48:18 +00:00
Remy Sharp
2367a26fdd This test is for 0.10+ 2015-01-18 10:21:50 +00:00
Remy Sharp
6b40593bd8 Merge pull request #467 from rmi22186/patch-1
Clarify intro sentence in README.md [skip ci]
2015-01-17 23:33:56 -08:00
Robert Ing
8589fab0f1 Update README.md 2015-01-17 17:15:10 -08:00
Remy Sharp
be9e38fa7d Travis tests: use regex for num changes 2015-01-16 23:05:28 +00:00
Remy Sharp
c9b6d989ea No event nodemon support for 0.8 2015-01-16 22:56:05 +00:00
Remy Sharp
56fbf4db22 Unsure if we're matching a num or not... 2015-01-16 22:21:03 +00:00
Remy Sharp
1f002f61d3 Blinking nodemon.json file was missing from git! 2015-01-16 21:56:49 +00:00
Remy Sharp
d10fe4e2be trim test output 2015-01-16 17:44:12 +00:00
Remy Sharp
fa7826a2ac Fixed event binding to nodemon not bus 2015-01-16 17:36:25 +00:00
Remy Sharp
bac129079a Fix broken regexp
> nodemon fork monitor should restart on .js file changes with no arguments
2015-01-16 16:16:40 +00:00
Remy Sharp
a36dece91d fixing scripted event tests 2015-01-16 16:07:45 +00:00
Remy Sharp
2647156034 Diagnosing Travis error (VM) 2015-01-16 13:47:20 +00:00
Remy Sharp
89f0dd32e1 Trying to fix test that randomly breaks 2015-01-16 10:19:40 +00:00
Remy Sharp
65d2d49120 Merge branch 'master' into feature/pre-post-events 2015-01-16 10:07:03 +00:00
Remy Sharp
6990aa07d0 Merge pull request #465 from remy/fix/exec-escapes
Tests for weird exec filenames
2015-01-16 02:04:33 -08:00
Remy Sharp
3b8cea480a Fixing tests
- Make scripts output expected content (rather than the bash user!)
- Reduce noise
- Ensure the exec it quoted appropriately
2015-01-16 09:49:15 +00:00
Remy Sharp
299b1a698a Merge branch 'master' into fix/exec-escapes 2015-01-16 09:40:59 +00:00
Remy Sharp
a5b666e87d Merge pull request #464 from remy/fix/double-escape
Fix/double escape
2015-01-16 01:37:00 -08:00
Remy Sharp
aa9d9d8684 typo 2015-01-16 09:32:56 +00:00
Remy Sharp
86821bf6b2 more test output 2015-01-16 09:30:32 +00:00
Remy Sharp
9651ab88b0 Escape exec *args* only if space
This matches npm's functionality. It's also been tested against the "some\"file" test, etc. It's hard too...and late.
2015-01-14 22:45:45 +00:00
Remy Sharp
f4469e19b1 Show how to use iojs with nodemon
[skip ci]
2015-01-14 08:22:55 +00:00
Remy Sharp
c7f9660144 Merge pull request #459 from remy/fix/419-vm-time-offset
Find on linux and detect container offset
2015-01-12 11:04:24 +00:00
Remy Sharp
0f4ff3ffb4 Ditch trottle for debouce & fix tests 2015-01-09 21:05:36 +00:00
Remy Sharp
f3c8713db3 Quieten down the too many events thing 2015-01-08 12:54:32 +00:00
Remy Sharp
6415b1ecb3 Merge branch 'master' into fix/419-vm-time-offset 2015-01-08 12:46:22 +00:00
Remy Sharp
fd54d04074 Always ensure find ref file is removed 2015-01-08 12:45:57 +00:00
Remy Sharp
b4be4bffe2 Remove logging + swallow error properly 2015-01-08 12:42:13 +00:00
Remy Sharp
c223bfe5d5 Find on linux and detect container offset
Closes #455
Closes #453
Fixes #419

This method creates a file and checks the stat to check of an offset between the date on the machine and the created time on the file system. Docker (in my tests) show that you can get the offset using this method.

Once we have the offset, we tell the user (once) and then we use that to find files that have been modified according to the offset (either looking in the last using -mmin or in the future using -newer + a touched file).
2015-01-08 12:35:58 +00:00
Remy Sharp
86baf99ee2 Merge pull request #458 from remy/fix/454-no-ps
Fixed #454
2015-01-08 10:28:37 +00:00
Remy Sharp
5f7f36c562 Fixed #454
Detect if `ps` is available, and if not, just try to kill the parent
2015-01-07 22:03:24 +00:00
Remy Sharp
8d08b183a1 Fixed nodemon require reset fully
And related events test
2015-01-07 21:45:14 +00:00
Remy Sharp
b09a37f2e8 Fixed "watching extension: undefined" 2015-01-07 21:45:14 +00:00
Remy Sharp
061454555a Merge pull request #452 from edi9999/throttle
changed --delay option: it now works like a throttle instead of with setTimeout
2015-01-06 21:52:23 +00:00
Edgar Hipp
308f71ac3a updating files to match nodemons syntax style 2015-01-06 12:23:08 +01:00
Edgar Hipp
5b3fb19ffe using throttle only if config.options.delay>0 2015-01-06 10:56:58 +01:00
Edgar Hipp
e31a514cab added test for delay option 2015-01-06 10:48:06 +01:00
Edgar Hipp
986ef40c29 added trailing: false to throttle
If trailing is not set to false, a setTimeOut is called if you call the
function when it is 'locked', so you need to set trailing to false to
avoid that unnecessary call
2015-01-05 17:15:47 +01:00