server: serve dev files for client src debugging
This commit is contained in:
parent
a47050e7ad
commit
2790b7d86e
1 changed files with 5 additions and 0 deletions
|
|
@ -41,6 +41,11 @@ class WebServer extends EventEmitter {
|
|||
// add remote root or absolute
|
||||
this.resolveDirs.push(this.remoteRoot || '')
|
||||
|
||||
if (!this.prod) {
|
||||
// add src root folder for debugging
|
||||
this.resolveDirs.push(path.resolve(__dirname + '/../../../'))
|
||||
}
|
||||
|
||||
this.ignoredNotFound = [
|
||||
'/apple-touch-icon-precomposed.png',
|
||||
'/favicon.ico',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue