File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
packages/tailwindcss-language-server/src Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -609,7 +609,9 @@ function testLocator({
609609 prepare,
610610 options,
611611 async handle ( { search } ) {
612+ console . log ( 'Start search…' )
612613 let projects = await search ( settings )
614+ console . log ( 'Finish search…' )
613615
614616 let details = projects . map ( ( project ) => ( {
615617 version : project . tailwind . isDefaultVersion
@@ -655,9 +657,15 @@ async function prepare({ root }: TestUtils<any>) {
655657 ...overrides ,
656658 }
657659
660+ console . log ( 'Before create resolver' )
658661 let resolver = await createResolver ( { root, tsconfig : true } )
662+
663+ console . log ( 'Before create locator' )
659664 let locator = new ProjectLocator ( root , settings , resolver )
665+
666+ console . log ( 'Before search' )
660667 let projects = await locator . search ( )
668+ console . log ( 'After search' )
661669
662670 // Normalize all the paths for easier testing
663671 for ( let project of projects ) {
Original file line number Diff line number Diff line change @@ -50,10 +50,14 @@ export class ProjectLocator {
5050
5151 async search ( ) : Promise < ProjectConfig [ ] > {
5252 // Locate all the Tailwind CSS config files in the project
53+ console . log ( 'Before find configs' )
5354 let configs = await this . findConfigs ( )
55+ console . log ( 'After find configs' )
5456
5557 // Create a project for each of the config files
5658 let results = await Promise . allSettled ( configs . map ( ( config ) => this . createProject ( config ) ) )
59+ console . log ( 'After create projects' )
60+
5761 let projects : ProjectConfig [ ] = [ ]
5862
5963 for ( let result of results ) {
You can’t perform that action at this time.
0 commit comments