This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import errno | |
| import time | |
| """ | |
| The linux pipe buffers are implemnted as circular buffers[1]. | |
| A consequence of the circular buffer is that when it is full and a subsequent write is performed: | |
| (a) then it starts overwriting the oldest data[2]. | |
| (b) Alternatively, the routines that manage the buffer could prevent overwriting the data and return an error or raise an exception. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env node | |
| const { program } = require('commander'); | |
| const { version } = require('../package.json'); | |
| let lastTrace = ''; | |
| let compilingIndex = 1; | |
| const buildModes = ['ssg', 'spa', 'ssr']; | |
| const webpack = require('webpack'); | |
| const config = require('../webpack.config'); |