tvooo / sublime-grunt

Moved to https://github.com/sptndc/sublime-grunt
296 stars 35 forks source link

Option to start default task on start #72

Closed blcarson closed 6 years ago

blcarson commented 10 years ago

Loving this plugin so far - mostly killed the need for me to have the terminal open at all.

One feature that I do miss is being able to just run 'grunt' have have the default command start without having to specify a task. Is there any way this could happen? Most times I don't need to target any of the tasks specifically. It might be a good offshoot of this request a few months back: https://github.com/tvooo/sublime-grunt/issues/48

mtone commented 10 years ago

Although the suggestion in #48 would be nice, I use the sublime built-in build system to do this. Ctrl+B executes a grunt task I specify. Here's what my sublime-build file looks like:

{
    "cmd": ["grunt.cmd", "taskname", "--no-color"],
    "working_dir": "${project_path:${folder}}",
    "shell": true
}