Kyle Robinson Young
e140e1a997
Fix for no target configs
2014-03-19 12:30:53 -07:00
Kyle Robinson Young
c92448d418
Fix for watch configs with "default" target name. Fixes GH-312.
2014-03-19 10:37:10 -07:00
Chris Gross
153a551678
Livereload option to not reload if tasks fail. Fixes GH-84. Closes GH-293.
...
Also reload configured tasks before each run
2014-03-11 22:26:39 -07:00
Kyle Robinson Young
ffa27dff42
Use tiny-lr-fork
2014-03-11 22:17:51 -07: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
Joey Baker
7817d405a0
Change HTTPS API to match grunt-contrib-connect
...
fixes #218
2013-10-18 19:54:47 -07:00
Kyle Robinson Young
5cfb9fe57d
Node v0.8 returns code 1 on SIGINT vs 130 with v0.10
2013-10-15 12:55:24 -07:00
Joey Baker
90e090afee
Enable live reload to work over https connections. Closes GH-197.
2013-09-29 15:42:25 -07:00
Brian Lai
dfa6953aaf
Fix to make interrupt work more than once. Closes GH-155.
2013-08-27 16:39:40 -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
Manuel Cabral
0d078cbe8b
Clear changedFiles after triggering livereload. Closes GH-193.
2013-08-26 16:16:35 -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
85fe0b2364
Fix running tasks after a gruntfile is reloaded. Fixes GH-184.
2013-08-16 08:28:35 -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
130d6dc1dd
Re-grab task/target options on each run. Ref GH-158.
2013-07-18 20:17:54 -07:00
Kyle Robinson Young
e0468bb2e0
Add dateFormat option to configure the date. Closes GH-129.
2013-07-18 15:09:09 -07:00
Iskren Chernev
419738ba2e
Append watch.options.cliArgs on spawn. Closes GH-158.
...
Currently cliArgs was fetched once on watch task startup. This means that event
handlers can not change that afterwords. Now every time grunt is spawned it can
have different command line arguments.
2013-07-16 12:51:27 -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
cfddream
ec87f65395
Optimize delete operations on taskrunner queue. Closes GH-133.
2013-06-22 22:59:53 -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
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
0855146fba
Friendlier error when port in use. Closes GH-91.
2013-05-08 23:00:29 -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
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
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
ffe58742df
Hold LR servers by port out of scope. In case watch is reloaded.
2013-05-01 16:06:01 -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
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
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