Bug report
Describe the bug
Scripts in the Head are run twice if marked async.
To Reproduce
Steps to reproduce the behavior:
- Create next app
- Create file at
/static/log.js with console.log('hello'); inside
- Attach to a page (make sure to add the
async attribute)
<NextHead>
<script src="/static/log.js" async></script>
</NextHead>
- Run site
- See duplicate console.log in console.
Expected behavior
Scripts should only run once.
Screenshots

System information
- OS: macOS
- Version of Next.js: latest 9.1.1
Bug report
Describe the bug
Scripts in the Head are run twice if marked
async.To Reproduce
Steps to reproduce the behavior:
/static/log.jswithconsole.log('hello');insideasyncattribute)Expected behavior
Scripts should only run once.
Screenshots
System information