Commit Graph

71 Commits

Author SHA1 Message Date
XhmikosR
5b3a5fb997 Merge pull request #465 from Ariel-Isaacm/master
Fix spelling
2015-10-13 02:23:08 +03:00
Ariel-isaacm
584fafcdb5 Fix spelling 2015-10-12 16:16:47 -07:00
XhmikosR
522fc6828c Update JSHint rules. 2015-10-11 13:26:55 +03:00
Paul Melnikow
ca346f4ebc Support cwd.event to emit events relative to path
This is useful for specifying the base directory to use with livereload.
2014-11-07 20:13:52 -05:00
Scott Rippey
f30e08a472 Added options.reload for reloading the grunt watch task when a configuration file changes 2014-03-11 22:17:51 -07:00
Kyle Robinson Young
c12d19b6ac Update copyright to 2014 2014-02-28 17:06:18 -08:00
Kyle Robinson Young
bc14a58bf6 Replace deprecated grunt.util libs 2013-12-08 10:20:42 -08:00
Kyle ☱☲☳☴☵☷ ☶ Robinson ☱☲ ☳☴☵☶☷ Young
a1cb33b834 Merge pull request #225 from ansman/master
Print a newline after the initial Waiting...
2013-11-27 12:40:05 -08:00
Joey Baker
a4dd0c7f34 Rm extraneous log calls
Fixes gruntjs/grunt-contrib-watch#230
2013-11-03 14:16:09 -08:00
Nicklas Ansman Giertz
2da0ee6cbb Print a newline after the initial Waiting...
Things like foreman doesn't work very well when a line without a newline
is printed, it blocks the output from all other processes so that the
lines may come in order.
2013-10-20 15:35:50 -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
ec207fe84d Fix for livereload missing files. Closes GH-191. Closes GH-192. 2013-08-25 17:22:31 -07:00
Kyle Robinson Young
1e8b680487 Skip empty file paths. Closes GH-174. 2013-08-16 08:56:16 -07:00
Kyle Robinson Young
7156379f96 Better options handling and fix bug resetting options. Ref GH-162. 2013-07-19 21:21:00 -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
042c499de0 Move libs/vars into top scope to prevent re-init 2013-07-11 13:14:52 -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
d094cfd1ab No need to gracefully exit anymore. Closes GH-103. 2013-05-13 20:47:38 -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
Daniel Steigerwald
2f68b0567b fix watchers closing. Closes GH-95. Bump v0.4.2
iterated array should never be modified during iteration
2013-05-09 14:55:07 -07:00
Kyle Robinson Young
5edea7e044 Close all open watchers as task is ran. Closes GH-75. 2013-05-09 08:50:46 -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
Oliver Joseph Ash
f1af227d22 Write new line after file change. Closes GH-86. 2013-05-07 11:21:30 -07:00
Joey Baker
e71d8f8ead Remove beep after each reload 2013-05-05 10:54:27 -07:00
Kyle Robinson Young
3889f6b100 Close watchers to ensure handle is released. Fixes GH-79. 2013-05-01 19:38:04 -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
cbb0e8e0e4 Implement livereload into the watch task. Ref gruntjs/grunt-contrib-livereload#32 2013-04-30 13:25:41 -07:00
Kyle Robinson Young
dbe658f4f0 Log all watched files when verbose is flagged. Closes GH-66. 2013-04-30 13:25:41 -07:00
Kyle Robinson Young
cd71d6d853 Emit a beep upon complete. 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
2b9ce6fd3c Refactor into task running lib. Reloads gruntfile upon changes. 2013-04-30 13:25:40 -07:00
Jaime Pillora
cf415ad229 Add event option to only trigger watch on certain events. Closes GH-63. 2013-04-02 11:07:24 -07:00
Kyle Robinson Young
856d3d0bc3 Fix for top level options. Fixes GH-56. Bump v0.3.1 2013-02-28 10:15:06 -08:00
Kyle Robinson Young
28f1467e02 Pass grunt to lib/taskrun to retain context 2013-02-26 16:29:32 -08:00
Kyle Robinson Young
9396cb4e33 Check in case returned error is a string. Ref GH-52. 2013-02-25 10:53:33 -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
9b93859c29 If fatal error returned from gaze hand to grunt.fatal. Fixes GH-52. 2013-02-25 10:14:17 -08:00
Kyle Robinson Young
8006886e52 Implement watch events 2013-02-21 21:59:40 -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
Jamie Stackhouse
f857f2ba4a Pass raw patterns to gaze. Fixes GH-20. Closes GH-43. 2013-02-13 22:45:29 -08:00
Kyle Robinson Young
a995d7d645 Add latest watch date and completion time. Closes GH-42. 2013-02-05 11:35:28 -08:00
Jason San Jose
c36fea1966 Use grunt.file.expand to support exclusions. Closes GH-30. 2012-12-21 16:22:40 -08:00
Kyle Robinson Young
b7e3551895 Inherit stdio from process. Fixes GH-26 2012-12-17 20:44:29 -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
3496beb2f4 Remove grunt.file.watchFiles 2012-12-12 10:40:14 -08:00
Kyle Robinson Young
4d76707d27 Allow watch task to be renamed. Closes GH-16. 2012-11-19 12:45:45 -08:00