<commit_before>module.exports = function(grunt) {
    require('load-grunt-tasks')(grunt);

    grunt.initConfig({
        concat: {
            all: {
                src: [
                    'src/module.js',
                    'src/*/**/*.js'
                ],
                dest: 'build/ng-drag.js'
            }
        },
        uglify: {
            drag: {
                files: {
                    'build/ng-drag.min.js': ['build/ng-drag.js']
                }
            }
        },
        ngAnnotate: {
            survey: {
                files: { 'build/ng-drag.js': ['build/ng-drag.js'] }
            }
        },
        watch: {
            all: {
                files: ['src/**/*.js'],
                tasks: ['build'],
                options: { spawn: false }
            }
        },
        ngdocs: {
          options: {
            dest: 'docs'
          },
          ngdrag: {
            src: ['src/**/*.js'],
            title: 'ngDrag'
          }
        }
    });

    grunt.registerTask('build', [
        'concat',
        'ngAnnotate',
        'uglify',
    ]);

    grunt.registerTask('default', 'build');
};<commit_msg>Update tasks to generate docs on watch<commit_after>module.exports = function(grunt) {
    require('load-grunt-tasks')(grunt);

    grunt.initConfig({
        concat: {
            all: {
                src: [
                    'src/module.js',
                    'src/*/**/*.js'
                ],
                dest: 'build/ng-drag.js'
            }
        },
        uglify: {
            drag: {
                files: {
                    'build/ng-drag.min.js': ['build/ng-drag.js']
                }
            }
        },
        ngAnnotate: {
            survey: {
                files: { 'build/ng-drag.js': ['build/ng-drag.js'] }
            }
        },
        watch: {
            all: {
                files: ['src/**/*.js'],
                tasks: [
                  'build',
                  'docs'
                ],
                options: { spawn: false }
            }
        },
        ngdocs: {
          options: {
            dest: 'docs'
          },
          ngdrag: {
            src: ['src/**/*.js'],
            title: 'ngDrag'
          }
        }
    });

    grunt.registerTask('build', [
        'concat',
        'ngAnnotate',
        'uglify',
    ]);

    grunt.registerTask('default', 'build');

    grunt.registerTask('docs', [
      'ngdocs'
    ]);
};
{'fraction_non_alphanumeric': 0.15751211631663975, 'fraction_numerical': 0.0, 'mean_word_length': 0.870845921450151, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6832496', 'n_tokens_mistral': 747, 'n_tokens_neox': 709, 'n_words': 99}