Skip to content

Commit

Permalink
use import alias
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed Jan 21, 2022
1 parent 2cea507 commit 5afb390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/run/watch-cli.ts
@@ -1,4 +1,4 @@
import { type FSWatcher, promises } from 'fs';
import { promises as fs, type FSWatcher } from 'fs';
import chokidar from 'chokidar';
import dateTime from 'date-time';
import ms from 'pretty-ms';
Expand Down Expand Up @@ -40,7 +40,7 @@ export async function watch(command: Record<string, any>): Promise<void> {

async function reloadConfigFile() {
try {
const newConfigFileData = await promises.readFile(configFile, 'utf8');
const newConfigFileData = await fs.readFile(configFile, 'utf8');
if (newConfigFileData === configFileData) {
return;
}
Expand Down

0 comments on commit 5afb390

Please sign in to comment.