update server port and set new dubdiff method
This commit is contained in:
parent
ab1229e8da
commit
30609b17da
@ -37,7 +37,7 @@ module.exports = function (grunt) {
|
||||
},
|
||||
express: {
|
||||
options: {
|
||||
port: process.env.PORT || 9000
|
||||
port: process.env.PORT || 80
|
||||
},
|
||||
dev: {
|
||||
options: {
|
||||
@ -208,7 +208,7 @@ module.exports = function (grunt) {
|
||||
options: {
|
||||
nodeArgs: ['--debug-brk'],
|
||||
env: {
|
||||
PORT: process.env.PORT || 9000
|
||||
PORT: process.env.PORT || 80
|
||||
},
|
||||
callback: function (nodemon) {
|
||||
nodemon.on('log', function (event) {
|
||||
@ -431,7 +431,7 @@ module.exports = function (grunt) {
|
||||
dist: [
|
||||
'jade',
|
||||
'sass',
|
||||
'imagemin',
|
||||
//'imagemin',
|
||||
'svgmin'
|
||||
]
|
||||
},
|
||||
|
@ -14,8 +14,9 @@ temp.track();
|
||||
// Perform a comparison between a and b
|
||||
// the callback should have parameters (err, result)
|
||||
|
||||
module.exports = newversion
|
||||
|
||||
module.exports = function(a, b, asMarkdown, callback) {
|
||||
function newversion (a, b, asMarkdown, callback) {
|
||||
|
||||
|
||||
//a few strings have to be escaped: "[-", "-]", "{+", and "+}"
|
||||
@ -50,7 +51,7 @@ module.exports = function(a, b, asMarkdown, callback) {
|
||||
return callback(null, resData);
|
||||
}
|
||||
|
||||
var oldversion = function(a, b, asMarkdown, callback) {
|
||||
function oldversion (a, b, asMarkdown, callback) {
|
||||
|
||||
//!!! this nested file-open is not a good pattern
|
||||
// better would be to use promises and write the two files asynchronously
|
||||
|
Loading…
Reference in New Issue
Block a user