This repository was archived by the owner on Aug 7, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +16
-16
lines changed Expand file tree Collapse file tree 5 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 2
2
node_modules
3
3
* .tgz
4
4
package-lock.json
5
+ * .js.map
5
6
6
7
plugins /NativeScriptAngularCompilerPlugin.d.ts
7
8
plugins /NativeScriptAngularCompilerPlugin.js
8
- plugins /NativeScriptAngularCompilerPlugin.js.map
9
9
10
10
transformers /* .d.ts
11
11
transformers /* .js
12
- transformers /* .js.map
13
12
14
13
utils /* .d.ts
15
14
utils /* .js
16
- utils /* .js.map
15
+
16
+ hmr /* .d.ts
17
+ hmr /* .js
17
18
18
19
plugins /PlatformFSPlugin.d.ts
19
20
plugins /PlatformFSPlugin.js
20
- plugins /PlatformFSPlugin.js.map
21
21
22
22
plugins /WatchStateLoggerPlugin.d.ts
23
23
plugins /WatchStateLoggerPlugin.js
24
- plugins /WatchStateLoggerPlugin.js.map
25
24
26
25
host /resolver.d.ts
27
26
host /resolver.js
28
- host /resolver.js.map
29
27
30
28
jasmine-config /reporter.d.ts
31
29
jasmine-config /reporter.js
32
- jasmine-config /reporter.js.map
33
30
34
31
bundle-config-loader.d.ts
35
32
bundle-config-loader.js
36
- bundle-config-loader.js.map
37
33
38
34
** /* .spec.js *
39
35
** /* .spec.d.ts *
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+
2
+ import update from "../hot" ;
3
+ import { knownFolders } from "tns-core-modules/file-system" ;
4
+
5
+ declare const __webpack_require__ : any ;
6
+
7
+ export function hmrUpdate ( ) {
8
+ const applicationFiles = knownFolders . currentApp ( ) ;
9
+ const latestHash = __webpack_require__ [ "h" ] ( ) ;
10
+ return update ( latestHash , filename => applicationFiles . getFile ( filename ) ) ;
11
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ export { hmrUpdate } from "./hmr-update" ;
You can’t perform that action at this time.
0 commit comments