Commit Graph

59 Commits

Author SHA1 Message Date
Brian Lai
dfa6953aaf Fix to make interrupt work more than once. Closes GH-155. 2013-08-27 16:39:40 -07:00
Kyle Robinson Young
b0f8ec66eb nitpicky clean up 2013-08-27 16:20:11 -07:00
Jaime Pillora
7c5a485974 cwd option now accepts separate files and spawn cwd settings. Closes GH-125.
Conflicts:
	test/fixtures/multiTargets/Gruntfile.js
2013-08-27 16:14:09 -07:00
Rich Trott
74c6125ef5 Test to ensure files are reloaded only once. Closes GH-195. 2013-08-26 16:16:46 -07:00
Rich Trott
ec207fe84d Fix for livereload missing files. Closes GH-191. Closes GH-192. 2013-08-25 17:22:31 -07:00
Kyle Robinson Young
061b31fc27 Add correctly named folder 2013-07-19 09:53:16 -07:00
Kyle Robinson Young
bb37221123 Remove badly named folder 2013-07-19 09:52:40 -07:00
Kyle Robinson Young
e0468bb2e0 Add dateFormat option to configure the date. Closes GH-129. 2013-07-18 15:09:09 -07:00
Kyle Robinson Young
2cb2441519 Fixing tests on Windows 2013-07-18 14:04:14 -07:00
Kyle Robinson Young
99e7a9a16e Dont watch **/*.js as it will watch node_modules. 2013-07-11 13:11:28 -07:00
Kyle Robinson Young
09f4854459 Change nospawn option to spawn. Closes GH-81. 2013-07-11 12:42:17 -07:00
John K. Paul
bfe7a2a1fb Add atBegin option to run tasks when watcher starts. Closes GH-147. 2013-07-07 14:12:50 -07:00
Jurie-Jan Botha
ede6a107b3 Added target specific event emissions. Closes GH-116. 2013-06-22 22:59:52 -07:00
Kyle Robinson Young
64902fe3d9 Ensure tasks are an array. Fixes GH-115. 2013-05-27 11:39:07 -07:00
Kyle Robinson Young
c33545f297 Only group changed files per target to send correct files to live reload. Fixes GH-87. 2013-05-11 21:52:19 -07:00
Kyle Robinson Young
4badeb41e7 Allow no tasks if just live reloading. Ref GH-74, Ref GH-82. 2013-05-07 12:17:21 -07:00
Kyle Robinson Young
188ec9f10e Make the fixture tasks run a little longer so the watch thinks it did something. 2013-05-07 12:15:24 -07:00
Kyle Robinson Young
f8a7b3cebe Revert "Run again if interrupt off and triggered during previous run. Closes GH-33."
This reverts commit d01491be1b.
2013-05-07 11:32:24 -07:00
Kyle Robinson Young
7b65526834 A little more breathing for node v0.10 2013-05-02 20:24:42 -07:00
Kyle Robinson Young
d06a7f3f5a Unixify paths to fix tests on Windows. 2013-05-01 20:25:09 -07:00
Kyle Robinson Young
d01491be1b Run again if interrupt off and triggered during previous run. Closes GH-33. 2013-05-01 15:35:23 -07:00
Kyle Robinson Young
5a4ba98254 Only run a single LR server if set at task level unless target overrides. 2013-05-01 11:50:23 -07:00
Kyle Robinson Young
08a62f813b Shorter way to set livereload port 2013-04-30 13:44:21 -07:00
Kyle Robinson Young
cbb0e8e0e4 Implement livereload into the watch task. Ref gruntjs/grunt-contrib-livereload#32 2013-04-30 13:25:41 -07:00
Kyle Robinson Young
62816b4ce8 Fixing the rest of the tests. 2013-04-30 13:25:41 -07:00
Kyle Robinson Young
602435b42f Override grunt.fatal/warn to try and prevent watch from exiting. Closes GH-58. 2013-04-30 13:25:40 -07:00
Kyle Robinson Young
43cb828791 Add tests and adjustments for restricting events 2013-04-30 13:25:40 -07:00
Kyle Robinson Young
0b79c61d6a Fixing tests 2013-04-30 13:25:40 -07:00
Kyle Robinson Young
2b9ce6fd3c Refactor into task running lib. Reloads gruntfile upon changes. 2013-04-30 13:25:40 -07:00
Kyle Robinson Young
8dd69e9352 Better error message on events tests 2013-03-16 10:06:48 -07:00
Kyle Robinson Young
e86fd7df90 Update CHANGELOG, README. Bump v0.3.0 2013-02-27 14:09:53 -08:00
Kyle Robinson Young
4f9d0be130 Add patterns test 2013-02-27 13:53:21 -08:00
Chris Danford
165df7827b Debounce runTasks for each target individually. Closes GH-53.
Now, if simultaneous file changes will trigger multiple targets, all
targets execute instead of just one target.
2013-02-25 10:36:13 -08:00
Kyle Robinson Young
8006886e52 Implement watch events 2013-02-21 21:59:40 -08:00
Kyle Robinson Young
855396972a Clean up tests 2013-02-21 15:28:42 -08:00
Kyle Robinson Young
903ed61722 Add interrupt option to nospawn 2013-02-20 21:50:48 -08:00
Kyle Robinson Young
ee8fb46e83 Print completed with nospawn. Finish nospawn test. 2013-02-20 21:50:48 -08:00
Kyle Robinson Young
8572348cea Break out task running functionality into a lib. Start on nospawn option. 2013-02-20 21:50:48 -08:00
Kyle Robinson Young
9d12703c89 Break off test helpers 2013-02-12 19:36:16 -08:00
Kyle Robinson Young
a995d7d645 Add latest watch date and completion time. Closes GH-42. 2013-02-05 11:35:28 -08:00
Kyle Robinson Young
f0fe26e668 Tighten up tests 2012-12-13 19:18:37 -08:00
Kyle Robinson Young
98017e20af Symlink node_modules to test folders so grunt-cli can find them 2012-12-13 18:35:31 -08:00
Chris Talkington
7c326a6fcf prep for upcoming grunt release. Closes GH-23.
normalize linefeeds. remove grunt v0.3 and node v0.6 support
2012-12-13 16:09:16 -08:00
Kyle Robinson Young
0a6f8fcf86 Fix failing test. Just look for fatal. 2012-10-31 17:20:13 -07:00
Kyle Robinson Young
3682c6e654 Dont display empty stderr. Add test for failing task 2012-10-31 17:12:03 -07:00
Kyle Robinson Young
8f4bd99f40 Use process.argv to spawn grunt
Will use the node and grunt bin that originally spawned
the process to spawn child processes.
2012-10-28 14:36:06 -07:00
Gong Hao
faaa0d1118 Use process.argv[1] to find the globally installed grunt bin. Closes GH-9. 2012-10-23 09:32:42 -07:00
Kyle Robinson Young
7b25bd6fdb More verbose output for tests and make the tests run more reliably 2012-10-17 11:30:42 -07:00
Kyle Robinson Young
47aefc0b32 Increase interrupt test wait time to 5s 2012-10-16 19:13:20 -07:00
Kyle Robinson Young
671fbca08c Fix test to run more reliably 2012-10-16 19:08:24 -07:00