diff options
author | Valentin Popov <info@valentineus.link> | 2019-08-20 01:46:41 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2019-08-20 01:46:41 +0300 |
commit | 22989465538f64e86fe5ac0235e322133b95056c (patch) | |
tree | 7c4f1f92310562e8087e3314dc2beac4661b3be1 /src | |
parent | a6b4bc15ebcfc3aa358fcfc95967da56381f0603 (diff) | |
download | electron-hot-reload-22989465538f64e86fe5ac0235e322133b95056c.tar.xz electron-hot-reload-22989465538f64e86fe5ac0235e322133b95056c.zip |
Initial test application
Signed-off-by: Valentin Popov <info@valentineus.link>
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) => { }; |