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 moving application files to a distribution directory as webpack did (dist) and using copyFiles to move the index.html, script folder, and other resources when using 'au run --watch' the watcher goes into an infinite rebuild loop on changing any file with the following message:
[08:42:30] index.html was changed
Watcher: Adding path index.html to pending build changes...
Watcher: Running file copy tasks on next build...
Starting 'readProjectConfiguration'...
Finished 'readProjectConfiguration'
Starting 'copyFiles'...
Finished 'copyFiles'
Starting 'writeBundles'...
INFO [Bundler] Tracing files ...
INFO [Bundle] Updated file name for vendor-bundle in index.html
Finished 'writeBundles'
Refreshing the browser
[08:42:30] index.html was changed
Watcher: Adding path index.html to pending build changes...
Watcher: Running file copy tasks on next build...
Starting 'readProjectConfiguration'...
Finished 'readProjectConfiguration'
Starting 'copyFiles'...
Finished 'copyFiles'
Starting 'writeBundles'...
INFO [Bundler] Tracing files ...
INFO [Bundle] Updated file name for vendor-bundle in index.html
Finished 'writeBundles'
Refreshing the browser
There are no actual updates being done to the index.html file during this loop as the builtin bundler is not adding a build number to the bundle name.
The work around is to remove the index.html file from copyFiles and just remember to restart 'au run' if that is change currently.
The text was updated successfully, but these errors were encountered:
I'm submitting a bug report
aurelia-cli v1.0.0-beta.13
Please tell us about your environment:
Operating System:
Windows 10
Node Version:
v8.11.1
NPM Version:
6.4.0
Language:
TypeScript
Loader/bundler:
BuiltIn - Alameda
Current behavior:
See this discourse for context:
https://discourse.aurelia.io/t/aurelia-cli-built-in-bundler-recreating-the-dist-folder-for-deployments/2271/9
When moving application files to a distribution directory as webpack did (dist) and using copyFiles to move the index.html, script folder, and other resources when using 'au run --watch' the watcher goes into an infinite rebuild loop on changing any file with the following message:
There are no actual updates being done to the index.html file during this loop as the builtin bundler is not adding a build number to the bundle name.
The work around is to remove the index.html file from copyFiles and just remember to restart 'au run' if that is change currently.
The text was updated successfully, but these errors were encountered: