fix: watchIgnore should be a full path

This commit is contained in:
Igor Randjelovic
2021-04-14 15:14:55 +02:00
parent 4f8522f5d4
commit 0601ca763b
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ export default function (config: Config, env: IWebpackEnv = _env): Config {
config.watchOptions({
ignored: [
`${getProjectFilePath('platforms')}/**`,
`${env.appResourcesPath ?? getProjectFilePath('App_Resources')}/**`,
`${getProjectFilePath(env.appResourcesPath ?? 'App_Resources')}/**`,
],
});