<commit_before>/*
 * grunt-watchalive
 * https://github.com/whitecolor/grunt-watchalive
 *
 * Copyright (c) 2014 Whitecolor
 * Licensed under the MIT license.
 */

'use strict';


module.exports = function(grunt) {

    grunt.registerMultiTask('watchalive', 'Watchalive sever grunt plugin', function() {

        var watchalive,
            done = this.async(),
            options = this.options()

        if (!options.useGlobal){
            try {
                watchalive = require('watchalive')
            } catch (e){
                console.log('Could not find local watchalive')
            }
        }

        if (!watchalive || options.useGlobal) {<commit_msg>watchalive local module require moved inside the task<commit_after>/*
 * grunt-watchalive
 * https://github.com/whitecolor/grunt-watchalive
 *
 * Copyright (c) 2014 Whitecolor
 * Licensed under the MIT license.
 */

'use strict';


module.exports = function(grunt) {

    grunt.registerMultiTask('watchalive', 'Watchalive sever grunt plugin', function() {

        var watchalive,
            done = this.async(),
            options = this.options()

        if (!options.useGlobal){
            try {
                watchalive = require('watchalive')
            } catch (e){
                console.log('Could not find local watchalive.')
            }
        }

        if (!watchalive || options.useGlobal) {
{'fraction_non_alphanumeric': 0.11735061195104392, 'fraction_numerical': 0.005759539236861051, 'mean_word_length': 2.1235955056179776, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '7515902', 'n_tokens_mistral': 407, 'n_tokens_neox': 384, 'n_words': 93}