2026/4/18小於 1 分鐘
stopWatching
停止監視檔案。
語法
stopWatching(path: string): void參數
| 參數名稱 | 類型 | 說明 |
|---|---|---|
path | string | 要修改的檔案路徑 |
// 這將停止監視 file.txt
FilesJS.stopWatching('file.txt');stopWatching停止監視檔案。
stopWatching(path: string): void| 參數名稱 | 類型 | 說明 |
|---|---|---|
path | string | 要修改的檔案路徑 |
// 這將停止監視 file.txt
FilesJS.stopWatching('file.txt');