You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
489 B
24 lines
489 B
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']);
|
|
|
|
}; |