Publishing Your Site

You can publish your site at any time from the top toolbar of the editor. When you click Publish, Wix performs an automatic check on the site's code for any errors. If errors are detected, Wix alerts you and provides the option to either return to the editor without publishing your site or to publish your site with the errors.

Note: Wix only reports code errors if there have been changes to the code since the last time the site was published. If no modifications were made to the code, Wix publishes your site without requiring any additional confirmation.

Publishing with developer mode enabled

If developer mode is enabled when you publish your site, Wix provides details of the errors in your code. You can then access the most recent build.log file to analyze where errors have been detected. To do this, click on View Error Log in the publishing prompt. Later, open the build.log file directly in your Wix editor under Developer Tools to review:

Publishing without developer mode enabled

If developer mode is not enabled when you publish your site, Wix informs you that errors were found in the code but doesn't provide details. Wix suggests you enable coding to debug the site's code, or consult a site developer to help resolve the errors. However, Wix also gives you the option to publish the site with the detected code errors.

What Wix checks:

During the automatic check, Wix analyzes your code files and validates the syntax that may prevent the bundling of code files.

The files it checks are:

The check does not analyze the following backend files:

Was this helpful?
Yes
No