Skip to content

Commit fbaea6c

Browse files
committed
# Conflicts: # paket.lock
2 parents fdfaf81 + c3f3821 commit fbaea6c

File tree

6 files changed

+370
-16
lines changed

6 files changed

+370
-16
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"build": "fable-splitter -c splitter.config.js --define RELEASE",
77
"start": "fable-splitter -c splitter.config.js -w --define DEBUG",
88
"compile-for-test": "fable-splitter -c splitter.config.js --define TEST",
9-
"cold-start": "fable-splitter -c splitter.config.js --define DEBUG"
9+
"cold-start": "fable-splitter -c splitter.config.js --define DEBUG",
10+
"remotedev": "remotedev --hostname=localhost --port=8000"
1011
},
1112
"dependencies": {
1213
"buffer": "5.0.8",
@@ -18,6 +19,7 @@
1819
"devDependencies": {
1920
"appium": "1.7.2",
2021
"babel-core": "6.26.0",
21-
"fable-splitter": "0.1.21"
22+
"fable-splitter": "0.1.21",
23+
"remotedev-server": "^0.2.4"
2224
}
2325
}

paket.dependencies

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ nuget Fable.PowerPack
77
nuget Fable.React
88
nuget Fable.React.Native
99
nuget Fable.Elmish
10+
nuget Fable.Elmish.Debugger
1011
nuget Fable.Elmish.React
1112
nuget Fable.Elmish.HMR
1213
nuget Fable.Import.Browser

paket.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ NUGET
2323
Fable.Core (>= 1.2.4) - restriction: >= netstandard1.6
2424
Fable.PowerPack (>= 1.3) - restriction: >= netstandard1.6
2525
FSharp.Core (>= 4.2.3) - restriction: >= netstandard1.6
26+
Fable.Elmish.Debugger (1.0.1)
27+
Fable.Core (>= 1.3.1) - restriction: >= netstandard1.6
28+
Fable.Elmish (>= 1.0) - restriction: >= netstandard1.6
29+
FSharp.Core (>= 4.2.3) - restriction: >= netstandard1.6
2630
Fable.Elmish.HMR (1.0)
2731
Fable.Core (>= 1.2.4) - restriction: >= netstandard1.6
2832
Fable.Elmish (>= 0.9.2) - restriction: >= netstandard1.6

src/Nightwatch.fs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ module Nightwatch
22

33
open Elmish
44
open Elmish.React
5+
open Elmish.Debug
56
open Elmish.ReactNative
67
open Elmish.HMR
78

@@ -23,7 +24,8 @@ Program.mkProgram App.init App.update App.view
2324
#if RELEASE
2425
#else
2526
|> Program.withConsoleTrace
27+
|> Program.withDebuggerAt (Remote("localhost",8000))
2628
|> Program.withHMR
2729
#endif
2830
|> Program.withReactNative "nightwatch"
29-
|> Program.run
31+
|> Program.run

src/paket.references

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Fable.PowerPack
44
Fable.React
55
Fable.React.Native
66
Fable.Elmish
7+
Fable.Elmish.Debugger
78
Fable.Elmish.React
89
Fable.Elmish.HMR
910
Fable.Import.Browser

0 commit comments

Comments
 (0)