edfungus/Crouton

grunt cpu use in Raspberry Pi

Closed this issue · 1 comments

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

}

I made commit 8a0c67b like above. Thanks for the suggestion!