Unable to start server using defaults. Saying that hostname is not specified. Documentation states that "localhost" is the default hostname.
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
// SASS
sass: {
dist: {
files: {
'css/styles.css': 'scss/styles.scss',
}
},
},
// WATCH
watch: {
sass: {
files: ['scss/**/*.scss'],
tasks: ['sass'],
options: {
livereload: true,
}
},
},
// EXPRESS
express: {
default_option: {},
},
});
// Load plugins
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-express');
// Default task(s)
grunt.registerTask('default', ['express', 'sass', 'watch']);
};
Unable to start server using defaults. Saying that hostname is not specified. Documentation states that "localhost" is the default hostname.
Gruntfile:
Terminal output: