{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/JavaScriptServices/issues/578","repository_url":"https://api.github.com/repos/aspnet/JavaScriptServices","labels_url":"https://api.github.com/repos/aspnet/JavaScriptServices/issues/578/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/JavaScriptServices/issues/578/comments","events_url":"https://api.github.com/repos/aspnet/JavaScriptServices/issues/578/events","html_url":"https://github.com/aspnet/JavaScriptServices/issues/578","id":200241501,"number":578,"title":"Option to make webpack middleware to be synchronous?","user":{"login":"asadsahi","id":3470892,"avatar_url":"https://avatars.githubusercontent.com/u/3470892?v=3","gravatar_id":"","url":"https://api.github.com/users/asadsahi","html_url":"https://github.com/asadsahi","followers_url":"https://api.github.com/users/asadsahi/followers","following_url":"https://api.github.com/users/asadsahi/following{/other_user}","gists_url":"https://api.github.com/users/asadsahi/gists{/gist_id}","starred_url":"https://api.github.com/users/asadsahi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asadsahi/subscriptions","organizations_url":"https://api.github.com/users/asadsahi/orgs","repos_url":"https://api.github.com/users/asadsahi/repos","events_url":"https://api.github.com/users/asadsahi/events{/privacy}","received_events_url":"https://api.github.com/users/asadsahi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-11T23:50:29Z","updated_at":"2017-01-11T23:50:29Z","closed_at":null,"body":"Is there a way to run webpack middleware run synchronously and complete its action before next middleware runs. \r\n\r\nProblem I am having is that page renders first and I am dynamically reading main.js file from wwwroot folder inside angular 2/webpack based project. e.g this is the dynamic main.js file reference:\r\n\r\n`<script src=\"~/dist/@ViewBag.HashedMain\" asp-append-version=\"true\"></script>`\r\n\r\nBut the file isn't created in wwwroot folder yet. After few seconds, file is created and refreshing the page picks that file up."}}
{"actor":{"display_login":"asadsahi"}}