Created
August 28, 2013 05:56
-
-
Save adamstallard/6362557 to your computer and use it in GitHub Desktop.
Run Configurations for running grunt from the IntelliJ (webstorm) IDE. You need my fork of grunt (which fixes pipe output) to use it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <component name="ProjectRunConfigurationManager"> | |
| <configuration default="false" name="Grunt" type="NodeJSConfigurationType" factoryName="Node.js" path-to-node="C:/Program Files/nodejs/node" path-to-js-file="$USER_HOME$/AppData/Roaming/npm/node_modules/grunt-cli/bin/grunt" application-parameters="--stack" working-dir="$PROJECT_DIR$"> | |
| <RunnerSettings RunnerId="NodeJS.debug" /> | |
| <RunnerSettings RunnerId="NodeJS.run" /> | |
| <ConfigurationWrapper RunnerId="NodeJS.debug" /> | |
| <ConfigurationWrapper RunnerId="NodeJS.run" /> | |
| <method /> | |
| </configuration> | |
| </component> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <component name="ProjectRunConfigurationManager"> | |
| <configuration default="false" name="Grunt Debug" type="NodeJSConfigurationType" factoryName="Node.js" path-to-node="C:/Program Files/nodejs/node" path-to-js-file="$USER_HOME$/AppData/Roaming/npm/node_modules/grunt-cli/bin/grunt" application-parameters="--verbose --debug 9 --stack" working-dir="$PROJECT_DIR$"> | |
| <RunnerSettings RunnerId="NodeJS.debug" /> | |
| <RunnerSettings RunnerId="NodeJS.run" /> | |
| <ConfigurationWrapper RunnerId="NodeJS.debug" /> | |
| <ConfigurationWrapper RunnerId="NodeJS.run" /> | |
| <method /> | |
| </configuration> | |
| </component> |
I'm using the stock grunt but was having trouble getting a grunt run configuration created. Your gists were enough to let me set up my grunt run configurations using the WebStorm UI. Thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wow! I just updated IntelliJ and the following super sweet panel appeared. It's an awesome new set of IntelliJ features (released within the WebStorm product) that any avid IntelliJ IDEA user building javascript-full-stack web applications ought to check out.
http://blog.jetbrains.com/blog/2014/04/28/webinar-recording-webstorm-8-mastering-angularjs-spy-js-grunt-and-multi-selection-workflows/