Skip to content

Commit

Permalink
live reload in dev on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheikh Seck authored and Cheikh Seck committed Oct 7, 2017
1 parent 65073a4 commit 24c5373
Show file tree
Hide file tree
Showing 2 changed files with 647 additions and 742 deletions.
2 changes: 1 addition & 1 deletion gos.gxml
Original file line number Diff line number Diff line change
Expand Up @@ -1731,7 +1731,7 @@ for _, v := range apps {

pkSpl := strings.Split(r.FormValue("pkg"), "/")
if Windows {
go core.RunCmd("cmd /C start " + pkSpl[len(pkSpl)-1] )
go core.RunCmd("cmd /C gos --run") //live reload on windows...
} else {
shscript := `#!/bin/bash
cmd="./` + pkSpl[len(pkSpl)-1] + ` "
Expand Down
Loading

0 comments on commit 24c5373

Please sign in to comment.