##// END OF EJS Templates
caches: use .refresh() instead of .invalidate()...
caches: use .refresh() instead of .invalidate() - .invalidate() does a delete of cached valued under a key, which means in previous logic we delete, get_or_create, and compute. - .refresh() is simply replacing exising key with newly computed values, this creates less locks, and it's faster.

File last commit:

r884:4dac0063 default
r2939:913f92bf default
Show More
Gruntfile.js
15 lines | 570 B | application/javascript | JavascriptLexer
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 var gruntConfig = require('./grunt_config.json');
project: added all source files and assets
r1
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 module.exports = function(grunt) {
grunt.initConfig(gruntConfig);
project: added all source files and assets
r1
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-jshint');
polymer: introduce webcomponents to rhodecode
r689 grunt.loadNpmTasks('grunt-vulcanize');
grunt.loadNpmTasks('grunt-crisper');
grunt.loadNpmTasks('grunt-contrib-copy');
project: added all source files and assets
r1
grunt: run concat before vulcanize
r884 grunt.registerTask('default', ['less:production', 'less:components', 'concat:polymercss', 'copy', 'concat:dist', 'vulcanize', 'crisper']);
project: added all source files and assets
r1 };