Skip to content

Npm run dev, isn't watching for global.css #2965

@taylorosbourne

Description

@taylorosbourne

Whenever I save in App.svelte, the styles in my global.css go away. The console output is

[2019-06-06 21:54:56] waiting for changes...
[21:54:57] 200 ─ 0.43ms ─ /bundle.css?livereload=1559872497155
[21:54:57] 200 ─ 0.38ms ─ /
[21:54:57] 200 ─ 0.43ms ─ /bundle.css
[21:54:57] 200 ─ 0.64ms ─ /bundle.js
[21:54:59] 200 ─ 0.46ms ─ /
[21:54:59] 200 ─ 0.15ms ─ /bundle.css
[21:54:59] 200 ─ 0.53ms ─ /bundle.js
[21:54:59] 200 ─ 0.60ms ─ /favicon.png

however, saving in the global.css file will bring them back and console output is this

[2019-06-06 21:55:17] waiting for changes...
[21:55:19] 200 ─ 3.59ms ─ /
[21:55:19] 200 ─ 0.86ms ─ /bundle.css
[21:55:19] 200 ─ 1.22ms ─ /bundle.js
[21:55:19] 200 ─ 0.53ms ─ /favicon.png
[21:55:22] 200 ─ 0.34ms ─ /global.css?livereload=1559872522807

as you can see, saving in App.svelte doesn't reload the global.css file. Is this normal? Sorry, new to svelte. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions