Skip to content

Commit

Permalink
dont restart when typechecking only
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcWeber committed Apr 4, 2012
1 parent ba0761b commit 329179b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/urweb.vim
Expand Up @@ -147,7 +147,7 @@ fun! urweb#CompileRHS(target)
let args = ["urweb"] + extra + [fnamemodify(urp,":r")]
let args = actions#VerifyArgs(args)

if a:target == "standalone"
if a:target == "standalone" && index(args, '-tc') == -1
unlet onFinish
let port = input("run on port:", 8080)
let onFinish = funcref#Function('urweb#RestartServer', {'args': [exe, port] })
Expand Down

0 comments on commit 329179b

Please sign in to comment.