From ad30bcbec347043d0755be334025c943d05e3604 Mon Sep 17 00:00:00 2001 From: Johan Manders Date: Wed, 19 Jul 2023 12:11:43 +0200 Subject: [PATCH] fix(swc): SWC doesn't reload the application on Windows --- lib/compiler/swc/swc-compiler.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/compiler/swc/swc-compiler.ts b/lib/compiler/swc/swc-compiler.ts index 76bf36a5c..570717829 100644 --- a/lib/compiler/swc/swc-compiler.ts +++ b/lib/compiler/swc/swc-compiler.ts @@ -2,8 +2,7 @@ import * as chalk from 'chalk'; import { fork } from 'child_process'; import * as chokidar from 'chokidar'; import { readFileSync } from 'fs'; -import { join } from 'path'; -import { isAbsolute } from 'path/posix'; +import { join, isAbsolute } from 'path'; import * as ts from 'typescript'; import { Configuration } from '../../configuration'; import { ERROR_PREFIX } from '../../ui';