mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
Add cross origin test cases
This commit is contained in:
parent
0abdd95fe1
commit
e61cf2c079
9 changed files with 102 additions and 18 deletions
|
|
@ -6,6 +6,7 @@ var path = require('path');
|
|||
var fs = require('fs');
|
||||
var rimraf = require('rimraf');
|
||||
var cp = require('child_process');
|
||||
var httpServer = require('http-server');
|
||||
|
||||
var SAMPLES_MDOC_PATH = path.join(__dirname, 'website/playground/playground.mdoc');
|
||||
var WEBSITE_GENERATED_PATH = path.join(__dirname, 'website/playground/samples');
|
||||
|
|
@ -339,4 +340,10 @@ gulp.task('website', ['clean-website', 'playground-samples'], function() {
|
|||
}))
|
||||
);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
gulp.task('simpleserver', function(cb) {
|
||||
httpServer.createServer({ root: '../' }).listen(8080);
|
||||
httpServer.createServer({ root: '../' }).listen(8088);
|
||||
console.log('LISTENING on 8080 and 8088');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue