I am working with Wails CLI v2.0.0-beta.14.
It works, but there is a problem - if I change something on frontend side it stops working with the following error:

The vendor.js file is really absence.
If I run npm run build this file doesn't exist as well, but index.html doesn't contain reference to it.
But as I change something, for example app.component.html it appeared in index.html:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Frontend</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="styles.css"></head>
<body>
<app-root></app-root>
<script src="runtime.js" defer></script><script src="polyfills.js" defer></script><script src="vendor.js" defer></script><script src="main.js" defer></script></body>
</html>
But the dist folder doesn't contain it.
In case of npm run watch there are both vendor.js file and reference in the index.html to it.
But for some unclear reason wails dev produces dist without vendor.js but index.html which contains reference to it.
The current workaround is, and that's all I could find: run npm run watch manually in the additional terminal. Then I can modify frontend and the changes will be reflected constantly in the app.
Is it possible to fix it somehow? I'm not sure isn't it an issue of your template or this is a wails issue.
I work in the windows environment, but don't know does it matter or not.
I am working with

Wails CLI v2.0.0-beta.14.It works, but there is a problem - if I change something on frontend side it stops working with the following error:
The
vendor.jsfile is really absence.If I run
npm run buildthis file doesn't exist as well, butindex.htmldoesn't contain reference to it.But as I change something, for example
app.component.htmlit appeared in index.html:But the
distfolder doesn't contain it.In case of
npm run watchthere are bothvendor.jsfile and reference in theindex.htmlto it.But for some unclear reason
wails devproduces dist withoutvendor.jsbut index.html which contains reference to it.The current workaround is, and that's all I could find: run
npm run watchmanually in the additional terminal. Then I can modify frontend and the changes will be reflected constantly in the app.Is it possible to fix it somehow? I'm not sure isn't it an issue of your template or this is a wails issue.
I work in the windows environment, but don't know does it matter or not.