Commit Graph

107 Commits

Author SHA1 Message Date
Kyle Robinson Young
7d2093370b Update copyright year 2018-04-20 15:23:12 -07:00
Stefan Cepko
8c93077e59 Updated lodash and changed outdated 'contains' to 'includes' 2016-04-20 13:20:18 -04:00
XhmikosR
47eb4b070b Lint tweaks. 2016-01-15 09:19:49 +02:00
Kyle Robinson Young
d57ca3cbba Update copyright to 2016 2016-01-04 17:17:42 -08:00
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
77525755d2 Update JSCS. 2015-10-11 13:28:46 +03:00
XhmikosR
522fc6828c Update JSHint rules. 2015-10-11 13:26:55 +03:00
Tim Kang
a8bb230990 Make it more clear that the server is listening on INADDR_ANY 2015-02-20 21:06:33 -08:00
Tim Kang
70f142b9a0 Merge branch 'master' into add-hostname-option
Conflicts:
	test/tasks/livereload_test.js
2015-02-20 20:44:23 -08:00
Kyle Robinson Young
64ef021e7c Update copyright to 2015 2015-01-01 11:32:47 -08:00
Joel Kemp
2fd46f1a81 Used JSCS and fixed violations 2014-12-07 19:43:44 -05: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
Tim Kang
0acd00f8ca Expose hostname parameter of tiny-lr 2014-11-06 19:04:34 -08:00
Clayton Watts
4b1801be53 Switch back to mklabs/tiny-lr 2014-10-07 16:13:21 -06:00
jakub-g
6421986b00 Fix GH-169 endless loop with atBegin/nospawn. Closes GH-356.
This commit fixes an issue where a failure of a watch task
with options `{ atBegin : true, spawn : false }` lead to an infinite loop
of tasks.
2014-07-24 15:53:51 -07:00
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