feat(react): Allow tailwind glob to watch for changes to html files

This commit is contained in:
Ashwin Gokhale 2021-08-31 16:28:35 -07:00 committed by Juri Strumpflohner
parent c96c68f213
commit 8757423924

View File

@ -7,7 +7,7 @@ import { createGlobPatternsForDependencies as workspaceGenerateGlobs } from '@nr
*/
export function createGlobPatternsForDependencies(
dirPath: string,
fileGlobPattern: string = '/**/!(*.stories|*.spec).{tsx,jsx,js}'
fileGlobPattern: string = '/**/!(*.stories|*.spec).{tsx,jsx,js,html}'
) {
try {
return workspaceGenerateGlobs(dirPath, fileGlobPattern);