
Configurando GruntJS no Webstorm

Editing the dependency’s bower.json file is what I was after. (bower_components/FOLDER/bower.json)
changed:
"main": "rzslider.js",
To
"main": [
"rzslider.js",
"dist/rzslider.css"
],
This sticks the css file in my index.html under the vendor section. Hopefully this’ll help anyone else who comes along and struggles with this.
Com a utilização do grunt-ng-annotate você não precisa mais fazer isso:
angular.module("MyMod").controller("MyCtrl", ["$scope", "$timeout", function($scope, $timeout) {
}]);
Basta fazer assim:
angular.module("MyMod").controller("MyCtrl", function($scope, $timeout) {
});
Pois com essa dependência quando der grunt build e minify ele vai gerar de maneira correta.
Gruntfile.js
module.exports = function (grunt) {
grunt.initConfig({
uglify:{
dist:{
files:{
"dist/app.min.js":"app/**/*.js"
}
}
}
})
grunt.loadNpmTasks("grunt-contrib-uglify")
}
Basta executar esse comando na basta do projeto.
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p