In order for Grunt to recursively watch for modifications of any HTML files inside of app/views (particularly the new templates/watchlist-panel.html file), we need to change line 59 of our Gruntfile.
js.
The text in the book says to change it to the following:
Code:
'<%= yeoman.app %>/**'*.html',
However, that string contains 3 single quotation marks, which subsequently leads to a syntax error message from Grunt:
Quote:
>> SyntaxError: C:\Users\matthiku\workspace\StockDog\Gruntfile.js: 59
>> '<%= yeoman.app %>/**'*.html',
>> ^
>> Unexpected token .
|
(The ^ points to the dot right before 'html'.)
Any idea what the correct syntax of this regex should be?