I have a yeoman scaffolded app (the angular fullstack generator).   grunt serve works fine, but grunt build produces a distribution that locks up memory, most probably because of circular references in angular.  I upgraded angular to 1.2.15.  The e...
Note: This question is only relevant for Grunt 0.3.x and has been left for reference. For help with the latest Grunt 1.x release please see my comment below this question.  I'm currently trying to use Grunt.js to setup an automatic build proces...
I am using Grunt as my Build Tool and ESLint as my linting tool for an app I am working on. I am also using the Underscore Node package, and have made use of it in my app. Unfortunately, when I run ESLint on my code, it thinks that _ is an undefined...
I have installed the grunt task grunt-contrib-copy. I embedd it in my Gruntfile.js and load the task via grunt.loadNpmTasks('grunt-contrib-copy');.   Currently I use following configuration to create a folder with a subset of my js files/fold...
I'm using Grunt (task-based command line build tool for JavaScript projects) in my project. I've created a custom tag and I am wondering if it is possible to run a command into it.  To clarify, I'm trying to use Closure Templates and "...
I am trying to set up my grunt.js file so it only runs the min task when running on my production server - when running on my local dev server I don't want to min my code with every change as it is unnecessary.  Any ideas on how grunt.js can diff...
I have a project where I'm using grunt to process my Js and SASS files.  At the moment, when I need to process something, I need to call all the tasks inside my gruntfile.js even if I want to change only one module, or only the SASS file.  Is the...
So, I've been looking all over for this, found "similar" answers here, but not exactly what I want.  Right now if I want to test a single file with karma, I need to do fit(), fdescribe() on the file in question...  However, what I do want...
I've got a Grunt setup which uses Karma+Jasmine and JSHint. Whenever I run JSHint on my spec file, I get a series of "undefined" errors, most of which are for Jasmine's built-in functions. For example:  Running "jshint:test" (...
I started an Angular.js app with Yeoman's yo angular that includes Karma testing. Then, the grunt test reasonably failed because Karma can't find any browsers. (The browsers has not been set in the app's node_modules/karma config file.)...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.