Last active
January 4, 2016 19:49
-
-
Save jayhjkwon/8669422 to your computer and use it in GitHub Desktop.
Integrate grunt command into pre-build event in visualstudio
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
First, install grunt-cli in local project | |
> npm install grunt-cli | |
Then put following command in pre build event | |
cd $(SolutionDir)webapp\node_modules\.bin | |
grunt.cmd build | |
Note that "webapp" directory is just for my project, maske sure to put correct path for your case. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment