fix: dev cmd didn't watch files due to import mangling
Appearently the esModuleInterop flag in TypeScript is not compatible with node-watch, and the import helper was mangling the import as a result and causing an error in the dev command that resulted in files not being watched. This fixes that import issue and adds an e2e test to help prevent a regression of this issue in the future.
This commit is contained in:
parent
28ef4fb20d
commit
cb9c4342de
7 changed files with 200 additions and 5 deletions
|
|
@ -10,7 +10,6 @@ import * as path from "path";
|
|||
import { shuffle } from "./lib/utils";
|
||||
|
||||
const TEST_SUITES_DIR = path.join(__dirname, "test-suites");
|
||||
|
||||
const files = fs.readdirSync(TEST_SUITES_DIR);
|
||||
// Shuffle test suites to detect ordering dependencies between them.
|
||||
shuffle(files);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue