Grunt Launcher

Free

Right click extension to launch Grunt, Gulp and Bower commands in Visual Studio.

(9) Review
Visual Studio
2013, 2012
Download (8,090)
9/22/2014
1.6.6
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (9)
Q and A (11)
Sign in to write a review
Sort by:

by Mads Kristensen | September 03 2014

Great extension that saves me a bunch of time for working with Grunt and npm

by marek.d | August 18 2014

Last version works like a charm!

by find.ly | August 13 2014

Extremely useful plugin

by joey_sal | August 06 2014

This doesn't seem to be working with vs2013 update 2. When I access the context menu by right-clicking the gruntfile.js, I see the Grunt menu, but the only item in the list is 'Grunt' and then it complains that it can't find the task 'Grunt' when I run it. I know the gruntfile.js works because the grunt command-line works and finds all the tasks.

by Dennis Erny | June 26 2014

Thanks so much for this Paolo! One option that would be nice is the ability to mark some tasks as 'private' as it's common for some tasks to be created that are typically only executed as part of a bundle -- a build task that starts a series of tasks beginning with a directory clean is a good example. I don't really want to see 'gulp clean' in the list of available tasks, only 'gulp build'.

by MBursill | May 22 2014

by ExtMan | April 24 2014

Nice little tool ...it would be nice if it was possible to have the gulpfile/gruntfile javascript files live in a different folder, rather than the root. :)

e.g. [webapp_projectname]/App_Workflow/gulpfile.js

Maybe just make the gulpfile.js location configurable under Tools|Options...

by AdamMarshall | March 11 2014

Works great on VS2013. Does what it says on the tin, really useful to kick off a watch, or force a task to run, without switching to command line.

by Tomer's | August 29 2013

It doesn't work on VS2012 update 3.

Sign in to start a discussion


  • How do I stop Grunt:Serve?
    1 Posts | Last post Mon 2:42 PM
    • If I execute grunt serve, how can I kill the process?  Ctrl-C doesn't do anything in the output window.
  • Supply arguments to Grunt?
    4 Posts | Last post September 09, 2014
    • Hi, is it possible to pass along arguments to Grunt with this extension? I have a project I need to run with "grunt serve --force", but this only seems to be able to do a grunt serve. Thanks!
    • Actually it isn't possible with the current interface, but it might be possible to create another task in grunt, say forceServe, which in turns invokes force --serve 
    • I was also looking for this.
    • the problem is still there even after the latest Update.
      :(
      
  • Bower support for custom bower_components directory
    3 Posts | Last post September 08, 2014
    • If your bower_components directory is not in the default location(set via the .bowerrc file) the "Bower: Update All packages" command does not appear for the custom bower_components folder.
    • +1
      
    • Can you open an issue on https://github.com/Bjornej/GruntLauncher with a project that repro the problem? 
  • gruntfile suing require.js failed
    2 Posts | Last post September 08, 2014
    • Hi All
      
      When using require for example to resolve the actual path you get 'Cannot parse Gruntfile'
      
       
        iisexpress: {
                  server: {
                      options: {
                          port: 1791,
                          path: require('path').resolve('..') + '\\IAMT.GES.RBAC.Web',
                          killOn: 'iis.done'
                      }
                  }
              },
    • Can you open an issue on https://github.com/Bjornej/GruntLauncher ?
      
      I think I know what's the problem.
  • gruntfile.coffee support
    2 Posts | Last post September 08, 2014
    • Is there's support for gruntfile.coffee? 
      
      Simple gruntfile.coffee produces 'Cannot parse Gruntfile'
      
      Sample gruntfile: https://gist.github.com/RaveNoX/261441bd6db7a206a210
      
    • Hi. Currently there is no support for coffee files as the engine to parse javascript cannot execute cooffescript.
  • No support for Web Site Projects?
    1 Posts | Last post September 03, 2014
    • It seems that I can only use this extension on a Web Application project and not on a Web Site project. Is this the intended behavior?
  • Latest update removed all my tasks
    7 Posts | Last post September 02, 2014
    • Hi, I just installed the latest version (1.6.3) and now when right clicking my gruntfile I just get "Grunt" as a menu option. Running that gives me
      
      Executing Grunt 
      
      Warning: Task "Grunt" not found. Use --force to continue.
      
      Aborted due to warnings.
      
      I used to get a list of the stuff I setup in my grunt.initConfig but not a list of my tasks. However running the Grunt option used to run my default task which is what I want. Do I need to add something or change something?
    • My registered tasks look like this:
      	grunt.registerTask('default', ['concat:dist', 'ngmin', 'uglify', 'concat:complete']);
      	grunt.registerTask('minify', ['concat:dist', 'ngmin', 'uglify', 'concat:complete']);
      Added minify just to check if it would show up. It doesn't.
    • I am having the same issue. Tried installing this and just get the Grunt heading with no tasks and the same error message if I select the Grunt heading.
      
      I have tried on VS2013 Update 1 and Update 2 and I get the same error.
    • I am facing the same problem as you guys.
      
    • Yes, same problem.  I no longer have any tasks.  They are all gone and I just get the same useless message.
    • I too am getting the same error message:
      
      Executing Grunt
      
      Wanring: Task "Grunt" not found.  Use --force to continue.
      
      Aborted due to warnings.
      
      I just installed the version 1.6.4 in VS 2013 Update 3.  Any possible solutions here?
    • Hi! Sorry for not responding but visualstudiogallery doesn't notify about comments. 
      
      For everyone except beaudet the problem should be solved by updating to version 1.6.4. 
      
      For beaudet the problem seems to be that grunt is not installed in your system. Can you verify it is installed correctly as a global package?
  • Doesn't work for web site projects?
    1 Posts | Last post June 05, 2014
    • Any reason why this only seems to work for a web application project and not a web site project?
  • Using Lo-Dash with GruntLauncher
    2 Posts | Last post April 01, 2014
    • Hi,
      
      Using the following command:
      grunt.initConfig(grunt.util._.extend(taskConfig, userConfig)); 
      
      result in in a GruntLauncher error, the only menu item (except default) is "grunt: cannot parse grunt file"
      
      Removing the line and merging the arrays manually works perfectly.
          for (var k in userConfig) {
              if (userConfig.hasOwnProperty(k) && !taskConfig.hasOwnProperty(k)) {
                  taskConfig[k] = userConfig[k];            
              }
          }
          grunt.initConfig(taskConfig);
      
      Your opinion?
    • It seems that the extend function is not recognized by the file parser. Can you send me a copy of your gruntfile or a similar one with the problem so I can correct the code?
  • Launcher can't execute grunt
    3 Posts | Last post March 11, 2014
    • I have grunt-cli installed globally, and grunt installed in my projects npm directory. Grunt works fine on the command line but when using GruntLauncher I get the following message:
      "'grunt' is not recognized as an internal or external command"
      
      I'm running in Windows 8.1 with Visual Studio Premium V 12.0.21005.1 REL, NodeJS Tools 1.0 Alpha. 
      
      My installed Node version is 0.10.25.
      
      Executing 'where grunt' produces:
      C:\Users\<user>\AppData\Roaming\npm\grunt
      C:\Users\<user>\AppData\Roaming\npm\grunt.cmd
    • The message you receive is thrown when the plugin executes cmd.exe to launch grunt so it means that cmd cannot find grunt. Can you verify that it is available on the PATH variable?
    • Here are the steps I usually try:
      
      1) Restart Visual Studio if you opened it before installing grunt. this might be it.
      2) type: where grunt, at a command line and it should report a path to grunt.cmd (it does for you). If it didn't you could try and reinstall with: npm i -g grunt-cli. You could try and reinstall anyway.
      3) Try manually adding the path to grunt.cmd (in your users AppData\Roaming\npm directory) to your System PATH environment variable.
      4) Try logging off and back on again.
1 - 10 of 11 Items