Skip to content

Commit

Permalink
feat: Invalidate main.rb cache
Browse files Browse the repository at this point in the history
Useful when developing mobile games
  • Loading branch information
yhara committed Jan 29, 2020
1 parent 5fe5899 commit c585cc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- feat: Better error msg (#29)
- feat: Support Window.fps= (#30)
- feat: dxopal server prints access log (#31)
- feat: Default index.html avoids main.rb cache (#32)

## v1.4.4 (2020-01-21)

Expand Down
2 changes: 1 addition & 1 deletion template/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>DXOpal game</title>
<script type="text/javascript" src="dxopal.min.js"></script>
<script type="text/ruby">
DXOpal.dump_error{ require_remote 'main.rb' }
DXOpal.dump_error{ require_remote "main.rb?#{Time.now}" }
</script>
</head>

Expand Down

0 comments on commit c585cc2

Please sign in to comment.