Jump to content

Getting "live reload" for anything via AutoIt


YellowAfterlife
 Share

Recommended Posts

I've just added a new blog post on getting a toolset & browser independent "live reload" done easily.

If you don't know what "live reload" is (and you should! It's useful), here's a GIF:

C7RWM0n.gif

Basically it's the process of having your game/app reload itself in browser automatically whenever you compile/save the source. It can be used to assist debugging, especially parts that require series of small changes or value tweaks.

Setting this up is easy for any toolset that provides a single JS file on output (if you are working with multiple files, you'll need to expand the code a bit). In animation above a Haxe/JS project is used.

Personally I prefer this method over normal IDE-driven one, since it does not open an extra browser tab on every launch, and does not require switching to browser window at all (which can be especially useful if you are debugging a non-interactive fragment of application to make it "look right").

Hopefully, this was useful.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...