{"action":"created","issue":{"url":"https://api.github.com/repos/Shopify/slate/issues/754","repository_url":"https://api.github.com/repos/Shopify/slate","labels_url":"https://api.github.com/repos/Shopify/slate/issues/754/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/slate/issues/754/comments","events_url":"https://api.github.com/repos/Shopify/slate/issues/754/events","html_url":"https://github.com/Shopify/slate/issues/754","id":360101488,"node_id":"MDU6SXNzdWUzNjAxMDE0ODg=","number":754,"title":"Static Assets not Uploading","user":{"login":"qw-in","id":19194187,"node_id":"MDQ6VXNlcjE5MTk0MTg3","avatar_url":"https://avatars0.githubusercontent.com/u/19194187?v=4","gravatar_id":"","url":"https://api.github.com/users/qw-in","html_url":"https://github.com/qw-in","followers_url":"https://api.github.com/users/qw-in/followers","following_url":"https://api.github.com/users/qw-in/following{/other_user}","gists_url":"https://api.github.com/users/qw-in/gists{/gist_id}","starred_url":"https://api.github.com/users/qw-in/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qw-in/subscriptions","organizations_url":"https://api.github.com/users/qw-in/orgs","repos_url":"https://api.github.com/users/qw-in/repos","events_url":"https://api.github.com/users/qw-in/events{/privacy}","received_events_url":"https://api.github.com/users/qw-in/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-13T23:23:22Z","updated_at":"2018-09-14T01:30:28Z","closed_at":null,"author_association":"NONE","body":"### Problem\r\n\r\nStatic Assets are **never** uploaded in development mode\r\n\r\n### Replication steps\r\n\r\n1. `yarn create slate-theme foo`\r\n1. `cd foo`\r\n1. `yarn start` (wait for upload)\r\n1. Add new file `./assets/static/test.css`\r\n1. Insert `body { background: red; }`\r\n1. Add `{{ \"test.css\" | asset_url | stylesheet_tag }}` to `./templates/index.liquid`\r\n\r\nExpected Result:\r\n- `test.css` is uploaded\r\n- `index.liquid` is uploaded\r\n- Page reloads\r\n- Screen goes red\r\n\r\nObserved Result:\r\n- `test.css` is **not** uploaded\r\n- `index.liquid` **is** uploaded\r\n- Page reloads\r\n- Screen does nothing\r\n\r\n### More Information\r\n- Linux\r\n- Static asset is uploaded when deploying\r\n- Even running `yarn start` again will not upload the asset\r\n- Was surprised slate does not wipe out old theme files when running `yarn start`. Had a bunch of legacy photos and stuff when I went checking for `test.css`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Shopify/slate/issues/comments/421202247","html_url":"https://github.com/Shopify/slate/issues/754#issuecomment-421202247","issue_url":"https://api.github.com/repos/Shopify/slate/issues/754","id":421202247,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTIwMjI0Nw==","user":{"login":"qw-in","id":19194187,"node_id":"MDQ6VXNlcjE5MTk0MTg3","avatar_url":"https://avatars0.githubusercontent.com/u/19194187?v=4","gravatar_id":"","url":"https://api.github.com/users/qw-in","html_url":"https://github.com/qw-in","followers_url":"https://api.github.com/users/qw-in/followers","following_url":"https://api.github.com/users/qw-in/following{/other_user}","gists_url":"https://api.github.com/users/qw-in/gists{/gist_id}","starred_url":"https://api.github.com/users/qw-in/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qw-in/subscriptions","organizations_url":"https://api.github.com/users/qw-in/orgs","repos_url":"https://api.github.com/users/qw-in/repos","events_url":"https://api.github.com/users/qw-in/events{/privacy}","received_events_url":"https://api.github.com/users/qw-in/received_events","type":"User","site_admin":false},"created_at":"2018-09-14T01:30:28Z","updated_at":"2018-09-14T01:30:28Z","author_association":"NONE","body":"My understanding is that `CopyWebpackPlugin` and `react-dev-server` have a history of not working together. That seems to be the case for me here. This is all based on my assumption that static assets should appear in the `build` folder"}}
{"actor":{"display_login":"qw-in"}}