grunt cpu use in Raspberry Pi
Closed this issue · 1 comments
gerardovf commented
I found that grunt was taking more than 90% cpu.
After some Google search I was able to solve it adding a 2 seconds 'interval' option in the "gruntfile.js" file:
watch: {
styles: {
files: [
'public'
],
tasks: ['less', 'pug', 'sync', 'clean'],
options: {
livereload: true,
nospawn: true
}
},
options: {
interval: 2000
}