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,

before running grund command, enter image description here

after running grunt command, enter image description here enter image description here

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

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -