Commit Graph

46 Commits

Author SHA1 Message Date
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
Kyle Robinson Young
3f8be3283d Better search for the Grunt bin 2012-10-16 18:59:55 -07:00
Kyle Robinson Young
7b7cd40b3f Fix and add tests for spawn once and interrupt 2012-10-16 16:31:34 -07:00
Kyle Robinson Young
b0de3a16c4 Fix indentation in echo task fixture 2012-10-15 16:21:41 -07:00
Kyle Robinson Young
c2bd166d17 Add tests for different watch configs 2012-10-15 16:16:16 -07:00
Kyle Robinson Young
5d491ddaf4 Read the config exactly like existing watch task 2012-10-11 22:26:00 -07:00
Kyle Robinson Young
c5b72f131d Refactor spawn out of helper 2012-10-09 14:55:53 -07:00
Kyle Robinson Young
4c16bf5e27 Release watch task 2012-10-08 22:47:41 -07:00
Tyler Kellen
3996790fa2 prep for 0.4 2012-10-03 13:14:12 -05:00
Tyler Kellen
44abe380e4 first commit 2012-09-17 16:01:19 -05:00