I'm a beginner when it comes to brunch, and I seem to be facing some issues with setting it up correctly. I am using the dead simple skeleton, and I have included a script (main.js) in the app > scripts directory. The script simply contains a console.log('init');
statement. Although this script successfully compiles (as I can see it in app.js), it does not execute. On my HTML page, all I have is:
<head>
<meta charset="utf-8">
<title>SITE</title>
<link rel="stylesheet" href="app.css">
</head>
<body>
<script type="text/javascript" src="app.js"></script>
</body>
This is how the content of the app.js file looks like:
require.register("scripts/main", function(exports, require, module) {
console.log('init');
});
Could anyone provide assistance regarding what might be going wrong here?