wip
This commit is contained in:
@@ -47,6 +47,7 @@ async function main() {
|
||||
});
|
||||
if (watch) {
|
||||
await ctx.watch();
|
||||
console.log('[watch] watching for changes...');
|
||||
} else {
|
||||
await ctx.rebuild();
|
||||
await ctx.dispose();
|
||||
|
||||
@@ -138,6 +138,7 @@ async function compileLuaScripts() {
|
||||
await compiler.compile(includeDevScript);
|
||||
} catch (err) {
|
||||
vscode.window.showErrorMessage('Compilation failed: ' + (err as Error).message);
|
||||
logger.error('Compilation failed: ' + (err as Error).message + '\n' + (err as Error).stack);
|
||||
}
|
||||
|
||||
// Update diagnostics
|
||||
|
||||
Reference in New Issue
Block a user