D
D
Dima2018-06-29 13:12:27
gulp.js
Dima, 2018-06-29 13:12:27

How to make gulp watch so that if there was an error in CSS, so that you do not have to restart the task?

How to make it so that during gulp watch if there was an error in the CSS, so that you do not have to restart the task. And then he gives out that I put an extra bracket and crashes.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexander Alexandrov, 2018-06-29
@lyaksay

/**
 * Обработчик ошибок.
 * @param e
 */
var error = function (e) {
  console.error('Error in plugin "' + e.plugin + '"');
  console.error('   "' + e.message + '"');
  console.error('   In file "' + e.fileName + '", line "' + e.lineNumber + '".');
  console.log('--------------------------------------');
  console.log(e);
};

And after that, add event handling to the task for gulp

B
brutal_lobster, 2014-10-21
@brutal_lobster

1. When creating a user, it would be nice to specify his name and date of birth
2. Age is not its property and depends on a specific date
3. The user's name can change
4. Why is internal there?
5. Serialization
6. Formatting

S
sidristij, 2014-10-24
@sidristij

int.Parse(Console.ReadLine());
It would be correct to use TryParse and if it returns false, ask again for input

K
kirahvi, 2014-10-30
@kirahvi

You're only halfway using a Property and assigning new values ​​directly to a field
is usually done like this:
private string _name;
public string Name
{
get { return _name; }
set { _name = value; }
}
You have already been told about the transfer of full name and DR in the constructor.
You said that the teacher pointed out errors, but which errors exactly?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question