Angular 6 [WDS] Disconnected Error on Firefox
Solved it today by running npm update
. Apparently it was a bug with an older version of Webpack.
This error appeared again for me under angular 7.2.1.
The solution was to add the following line in angular.json under architect>serve>options:
"disableHostCheck": true