brunch / auto-reload-brunch

Adds automatic browser reloading support to brunch.
88 stars 30 forks source link

Causes JSHint to fail #57

Closed row1 closed 8 years ago

row1 commented 8 years ago

If you use Brunch JSHint without explicitly specifying the path to lint auto reload will fail with with the following error:

error: Linting of 'node_modules/auto-reload-brunch/vendor/auto-reload.js' failed. JSHint detected 2 >problems: 3 | var WebSocket = window.WebSocket || window.MozWebSocket; ^ Missing "use strict" statement. 3 | var WebSocket = window.WebSocket || window.MozWebSocket; ^ 'WebSocket' is defined but never used.