<commit_before>module.exports = function (grunt) {

	grunt.initConfig({
		stylus: {
			compile: {
				options: {
					compress: true
				},
				files: {
					'./dist/app.min.css': './src/styles/**/*.styl'
				}
			}
		}
	});

	//Load plugins
	grunt.loadNpmTasks('grunt-contrib-stylus');

	//Task lists
	grunt.registerTask('serve', ['stylus']);
};<commit_msg>Added uglify, connect and watch grunt tasks<commit_after>module.exports = function (grunt) {

	grunt.initConfig({
		connect: {
			options: {
				port: 9001,
				livereload: 35729,
				hostname: 'localhost',
			},
			livereload: {
				options: {
					open: true,
					base: [
						'Weather-app'
					]
				}
			}
		},
		watch: {
			js: {
				files: ['Gruntfile.js', './src/js/**/*.js'],
				tasks: ['uglify'],
				options: {
					livereload: true
				}
			},
			stylus: {
				files: ['src/styles/**/*.styl'],
				tasks: ['stylus'],
				options: {
					livereload: true
				}
			},
			html: {
				files: ['src/views/**/*.html'],
				tasks: ['stylus'],
				options: {
					livereload: true
				}
			},
			livereload: {
				options: {
					livereload: '35729'
				},
				files: [
					'./src/js/**/*.js',
					'./src/styles/**/*.css',
					'./src/views/**/*.html',
					],
			}
		},
		uglify: {
			js: {
				files: {
					'./dist/app.min.js': ['./src/js/**/*.js']
				}
			}
		},
		stylus: {
			compile: {
				options: {
					compress: true
				},
				files: {
					'./dist/app.min.css': './src/styles/**/*.styl'
				}
			}
		},
	});

	//Load plugins
	grunt.loadNpmTasks('grunt-contrib-uglify');
	grunt.loadNpmTasks('grunt-contrib-stylus');
	grunt.loadNpmTasks('grunt-contrib-connect');
	grunt.loadNpmTasks('grunt-contrib-watch');

	//Task lists
	grunt.registerTask('build', ['uglify', 'stylus', 'connect', 'watch']);
};

{'fraction_non_alphanumeric': 0.21452702702702703, 'fraction_numerical': 0.007882882882882882, 'mean_word_length': 2.1732142857142858, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1140653', 'n_tokens_mistral': 921, 'n_tokens_neox': 694, 'n_words': 103}