javascript - grunt /node is taking 100% CPU -
i have setup new client project(with nodejs , angular js) in local environment. angular ground.after setting seems fine , able browse application.
but 1 problem when running grunt
command it's taking 100% cpu , after computer responds every request. not sure there fault system or project setup or node.js code issue? 1 please help. let me know if need more info
grunt version: 0.4.5 grunt cli version: 1.2.0
here screenshots,
here grunt file content,
'use strict'; module.exports = function (grunt) { var project = require('./project'), configs; // load locally installed grunt tasks require('load-grunt-tasks')(grunt); // show elapsed time @ end require('time-grunt')(grunt); // load local custom tasks grunt.loadtasks('./' + project.path.tasks); // load hui-build tasks , config require('hui-grunt-build').grunt(grunt); // expand configs running unit tests configs = { config: { src: './config/tasks/*js' // load-grunt-configs } }; configs = require('load-grunt-configs')(grunt, configs); grunt.config.merge(configs); // default task grunt.registertask('default', [ 'hui-build:local', // doesn't build js 'watch' ]); };
Comments
Post a Comment