Commit Graph

71 Commits

Author SHA1 Message Date
Kyle Robinson Young
d9880aa6bc Use grunt.util.spawn "grunt" option. Closes GH-15. 2012-11-19 12:35:49 -08:00
Kyle Robinson Young
0addd70cca Use CLI options without passed grunt.cli.tasks. Fixes GH-12.
This prevents the watch task or another task registered to the watch task
from running duplicate watch tasks.
2012-11-01 18:08:55 -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
321db68625 Grunt v0.3 compat for if file exists. Bump v0.1.2 2012-10-17 10:29:35 -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
d62b6501d3 Fix line endings from windows to unix 2012-10-16 15:25:07 -07:00
Kyle Robinson Young
596b69e95d Only spawn per task one at a time. Add interrupt option. 2012-10-16 15:23:43 -07:00
Kyle Robinson Young
5d8bceefee Display fatal error if Grunt bin doesnt exist 2012-10-16 14:02:25 -07:00
Kyle Robinson Young
3ad21c5201 Fallback to globally installed grunt if local doesnt exist 2012-10-16 13:39:46 -07:00
Kyle Robinson Young
5fd718dd75 Remove unused code 2012-10-16 09:51:36 -07:00
Kyle Robinson Young
72c1b9edff Add grunt.utils compatibility for Grunt v0.3 2012-10-15 11:10:27 -07:00
Kyle Robinson Young
db4aacbe2e Create a new watcher per target
Simplifies code and provides a watching performance boost.
Also allows options to be set per target.
2012-10-11 23:57:49 -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
5911ff08ca docs 2012-09-17 16:03:20 -05:00
Tyler Kellen
44abe380e4 first commit 2012-09-17 16:01:19 -05:00