Before you open an issue, please check if a similar issue already exists or has been closed before.
A descriptive title
The behavior you expect to see, and the actual behavior...
For feature requests, a description of the problem you're trying to solve, including why you think this is a problem.
Bug repro steps
Please give us an isolated way to reproduce the behavior (example: GitHub repository with code that anyone can clone to observe the problem, or a Dockerfile that replicates your environment):
1.
I'm running "ng build --watch" on an Angular 8.1 application
2.
Then i run lite-server using lite-server -c lite-server-config.json
3.
In my Chrome console I get the following errors:
- Refused to execute inline script because it violates the following Content Security Policy directive: "default-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-ThhI8UaSFEbbl6cISiZpnJ4Z44uNSq2tPKgyRTD3LyU='), or a nonce ('nonce-...') is required to enable inline execution. Note also that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.
- Failed to load resource: the server responded with a status of 404 (Not Found)
Before you open an issue, please check if a similar issue already exists or has been closed before.
A descriptive title
The behavior you expect to see, and the actual behavior...
For feature requests, a description of the problem you're trying to solve, including why you think this is a problem.
Bug repro steps
Please give us an isolated way to reproduce the behavior (example: GitHub repository with code that anyone can clone to observe the problem, or a Dockerfile that replicates your environment):
1. I'm running "ng build --watch" on an Angular 8.1 application
2. Then i run lite-server using lite-server -c lite-server-config.json
Cmd output:
3. In my Chrome console I get the following errors:
The Chrome elements tab:
Environment
lite-server
version: 2.5.4nodejs
version: 12.4.0npm
version: 6.9.0