Well, it will work but time will be wasted looking for a file that doesn't exist. The better method is to just set the localhost site as hosting "only the server file". Right click the site and click "Just a server site".
[attachment=0]wyBuild.site.png[/attachment]