-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Start watching and reference an asset in layout for example <link href="/css/styles.css" rel="stylesheet">
issues
- The references
styles.cssis not being watched so any changes will not apply until you restart watching. - Another issue is, While watching if you reference an asset and that asset already exist in build dir, it will not override and ignore your changes and just use the original asset in build.
here is example to demonstrate issue number 1 and 2
- Run dev
- add reference new empty styles.css file in layout
- go to build and inspect that file. it should be empty
- edit the styles.css in assets
- do a change in layouts or pages to trigger the watch (issue number 1)
- go to build and inspect styles.css you will NOT find your changes instead just the original empty styles.css from the first watch.
The problem seems to be present for all kind of assets that are not .html because they are not being regenerated by watch
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working