browser-sync
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -41,2 +41,6 @@ 'use strict'; | ||
singleRun: true | ||
}, | ||
watch: { | ||
configFile: 'test/karma.conf.js', | ||
singleRun: false | ||
} | ||
@@ -68,4 +72,4 @@ }, | ||
grunt.registerTask('default', ['jasmine_node']); | ||
grunt.registerTask('test-all', ['karma:unit', 'jasmine_node']); | ||
grunt.registerTask('test', ['karma:unit', 'jasmine_node']); | ||
}; |
{ | ||
"name": "browser-sync", | ||
"description": "Live CSS Reload & Browser Syncing", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"homepage": "https://github.com/shakyshane/browser-sync", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -57,3 +57,3 @@ # browser-sync [![Build Status](https://travis-ci.org/shakyShane/browser-sync.png?branch=master)](https://travis-ci.org/shakyShane/browser-sync) | ||
Watch ALL CSS files for changes with a static server & specify that the base dir should be "app" & with browser-sync disabled | ||
Watch ALL CSS files for changes with a static server & specify that the base dir should be "app" & with ghostMode disabled | ||
``` | ||
@@ -184,4 +184,43 @@ browser-sync --files "app/css/*.css" --server "app" --ghostMode false | ||
``` | ||
#Contributing | ||
Fork this repo, clone it and then run | ||
``` | ||
npm install | ||
``` | ||
###Testing | ||
Tests are split into two categories: Client & Server | ||
**Client-side tests** | ||
Client-side tests are located in test/client-script/* | ||
// Run the client-side tests & exit | ||
``` | ||
grunt karma:unit | ||
``` | ||
// Run the client-side tests & re-run on every file-change. | ||
``` | ||
grunt karma:watch | ||
``` | ||
**Server-side tests** | ||
Server-side tests are located in test/new-server | ||
// Run the server-side tests & exit | ||
``` | ||
grunt jasmine_node | ||
``` | ||
// Run the server-side tests & re-run on every file-change. | ||
``` | ||
grunt watch | ||
``` | ||
// Run the server-side tests & client-side tests once & exit. | ||
``` | ||
grunt test | ||
``` | ||
This is a brand new project so expect bugs & be sure to report them. | ||
## License | ||
Copyright (c) 2013 Shane Osbourne | ||
Licensed under the MIT license. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
110346
2458
225