You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the patchFile option to provide an HTML file for patching in neu configuration, each time you run the neu run command, the port number in the script tag changes to a different one. If the HTML page is version-controlled in Git, there's a risk of accidentally committing this change. The problematic line is:
Add the note about using of the --port command line option when running neu run. Setting a constant port number prevents changes to the port in index.html file. For example:
neu run -- --port=44913
The text was updated successfully, but these errors were encountered:
Documentation page
https://neutralino.js.org/docs/getting-started/using-frontend-libraries#enabling-hot-reload-and-configuration
Problem
When using the
patchFile
option to provide an HTML file for patching in neu configuration, each time you run theneu run
command, the port number in the script tag changes to a different one. If the HTML page is version-controlled in Git, there's a risk of accidentally committing this change. The problematic line is:Solution
Add the note about using of the
--port
command line option when runningneu run
. Setting a constant port number prevents changes to the port inindex.html
file. For example:The text was updated successfully, but these errors were encountered: