This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { utimes } from 'fs/promises' | |
import { debounce } from 'lodash' | |
import path from 'path' | |
import { ViteDevServer } from 'vite' | |
const touchFile = async path => { | |
const time = new Date() | |
return utimes(path, time, time) | |
} |
OlderNewer