Skip to content

Commit

Permalink
add debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Oct 2, 2017
1 parent f8653f8 commit c3f3821
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ nuget Fable.PowerPack
nuget Fable.React
nuget Fable.React.Native
nuget Fable.Elmish
nuget Fable.Elmish.Debugger
nuget Fable.Elmish.React
nuget Fable.Elmish.HMR
nuget Fable.Import.Browser
Expand Down
4 changes: 4 additions & 0 deletions paket.lock
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ NUGET
Fable.Core (>= 1.1.3) - restriction: >= netstandard1.6
Fable.PowerPack (>= 1.1) - restriction: >= netstandard1.6
FSharp.Core (>= 4.2.1) - restriction: >= netstandard1.6
Fable.Elmish.Debugger (0.9)
Fable.Core (>= 1.1.2) - restriction: >= netstandard1.6
Fable.Elmish (>= 0.9) - restriction: >= netstandard1.6
FSharp.Core (>= 4.2.1) - restriction: >= netstandard1.6
Fable.Elmish.HMR (1.0)
Fable.Core (>= 1.2.4) - restriction: >= netstandard1.6
Fable.Elmish (>= 0.9.2) - restriction: >= netstandard1.6
Expand Down
4 changes: 3 additions & 1 deletion src/Nightwatch.fs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module Nightwatch
open System
open Elmish
open Elmish.React
open Elmish.Debug
open Elmish.ReactNative
open Elmish.HMR
open Fable.Core.JsInterop
Expand All @@ -25,7 +26,8 @@ Program.mkProgram App.init App.update App.view
#if RELEASE
#else
|> Program.withConsoleTrace
|> Program.withDebugger
|> Program.withHMR
#endif
|> Program.withReactNative "nightwatch"
|> Program.run
|> Program.run
1 change: 1 addition & 0 deletions src/paket.references
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Fable.PowerPack
Fable.React
Fable.React.Native
Fable.Elmish
Fable.Elmish.Debugger
Fable.Elmish.React
Fable.Elmish.HMR
Fable.Import.Browser
Expand Down

0 comments on commit c3f3821

Please sign in to comment.