Skip to content

Instantly share code, notes, and snippets.

@jayhjkwon
Last active January 4, 2016 19:49
Show Gist options
  • Save jayhjkwon/8669422 to your computer and use it in GitHub Desktop.
Save jayhjkwon/8669422 to your computer and use it in GitHub Desktop.
Integrate grunt command into pre-build event in visualstudio
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