I use grunt to construct a JS project. And I run several grunt tasks to make the JS project build process automated. But after I set up the project using grunt, I found the watch task does not work, this article will tell you how to fix it.
I create a grunt project and when I run the command grunt in a terminal to build the project, I encounter the error message Loading “Gruntfile.js” tasks…ERROR >> SyntaxError: Invalid or unexpected token. This article will tell you how to fix it.