Skip to content

fix(@angular/cli): fix asset watching - #7600

Merged
filipesilva merged 1 commit into
angular:masterfrom
filipesilva:fix-asset-refresh
Sep 5, 2017
Merged

fix(@angular/cli): fix asset watching#7600
filipesilva merged 1 commit into
angular:masterfrom
filipesilva:fix-asset-refresh

Conversation

@filipesilva

Copy link
Copy Markdown
Contributor

https://github.com/kevlened/copy-webpack-plugin is now used instead of the custom plugin, it has since implemented the features we needed.

Fix #7521

https://github.com/kevlened/copy-webpack-plugin is now used instead of the custom plugin, it has since implemented the features we needed.

Fix angular#7521
export function isDirectory(path: string) {
try {
return fs.statSync(path).isDirectory();
} catch (_) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If TS is upgraded to 2.5.2 for CLI build purposes, the empty catch variable can be removed

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should do that project wide when updating.

@angular-automatic-lock-bot

Copy link
Copy Markdown

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.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Updating assets requires a code recompilation

4 participants