parent
1058e48b51
commit
7f0bfcf40f
@ -0,0 +1,24 @@
|
||||
module.exports = function(grunt) {
|
||||
|
||||
// Project configuration.
|
||||
grunt.initConfig({
|
||||
pkg: grunt.file.readJSON('package.json'),
|
||||
connect: {
|
||||
server: {
|
||||
options: {
|
||||
hostname: 'localhost',
|
||||
base: 'src/',
|
||||
port: 9001,
|
||||
keepalive: true
|
||||
}
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
// Load the plugin that provides the "uglify" task.
|
||||
grunt.loadNpmTasks('grunt-contrib-connect');
|
||||
|
||||
// Default task(s).
|
||||
grunt.registerTask('server', ['connect']);
|
||||
|
||||
};
|
||||
Loading…
Reference in new issue