Closed sinful-asura closed 9 months ago
Duplicate of #26441
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Which @angular/* package(s) are the source of the bug?
compiler, Don't known / other
Is this a regression?
No
Description
When creating a new Angular 17 App within a folder that contains a
.
character in its name, Vite watch daemon doesn't detect changes to the files. Theng serve
command must be re-ran to detect these changes.I have another app in Angular17 with webpack and it has no issues detecting changes despite having a
.
in folder name.Workaround is to just rename a folder / move contents to a folder that has no
.
in its name.Reproduction Scenarios
Below are provided two scenarios - one with issue reproduced and one where issue doesn't happen
Issue Occurs
ng new dotfolder-app --directory=./.dotfolder
cd ./.dotfolder
ng serve
Change contents of
app.component.html
> SaveNo changes detected
Re-run
ng serve
, changes will be reflectedIssue Doesn't Occur
ng new regular-app --directory=./regular
cd ./regular
ng serve
Change contents of
app.component.html
> SaveChanges detected and browser does an auto-refresh
Please provide a link to a minimal reproduction of the bug
https://youtu.be/3wbumEyzAXQ
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
No response