Commit Graph

28 Commits

Author SHA1 Message Date
Kyle Robinson Young
d57ca3cbba Update copyright to 2016 2016-01-04 17:17:42 -08:00
XhmikosR
522fc6828c Update JSHint rules. 2015-10-11 13:26:55 +03:00
Joel Kemp
2fd46f1a81 Used JSCS and fixed violations 2014-12-07 19:43:44 -05: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
c12d19b6ac Update copyright to 2014 2014-02-28 17:06:18 -08: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
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
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
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
09f4854459 Change nospawn option to spawn. Closes GH-81. 2013-07-11 12:42:17 -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
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
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
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
4669e34a4f Finer detail with completion time 2013-02-26 16:29:32 -08:00
Kyle Robinson Young
28f1467e02 Pass grunt to lib/taskrun to retain context 2013-02-26 16:29:32 -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
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