diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/index.ts | 7 | ||||
-rw-r--r-- | src/mainReloader.ts | 3 | ||||
-rw-r--r-- | src/rendererReloader.ts | 3 |
3 files changed, 13 insertions, 0 deletions
diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..82df114 --- /dev/null +++ b/src/index.ts @@ -0,0 +1,7 @@ +import { mainReloader } from "./mainReloader"; +import { rendererReloader } from "./rendererReloader"; + +export { + mainReloader, + rendererReloader, +}; diff --git a/src/mainReloader.ts b/src/mainReloader.ts new file mode 100644 index 0000000..5bd0fed --- /dev/null +++ b/src/mainReloader.ts @@ -0,0 +1,3 @@ +type TMainReloader = (paths: string[], ignored?: string[], handler?: (path: string) => void) => void; + +export const mainReloader: TMainReloader = (paths, ignored, handler) => { }; diff --git a/src/rendererReloader.ts b/src/rendererReloader.ts new file mode 100644 index 0000000..63178cf --- /dev/null +++ b/src/rendererReloader.ts @@ -0,0 +1,3 @@ +type TRendererReloader = (paths: string[], ignored?: string[], handler?: (path: string) => void) => void; + +export const rendererReloader: TRendererReloader = (paths, ignored, handler) => { }; |