Description
I trying to run this command in WSL2 with Ubuntu 22.04
nohup nodemon --watch ./app/assets/stylesheets/ --ext scss,css --exec yarn build:css > /dev/null 2>&1 &
And seems is not working
Running the same command generating a log i got this error
nohup nodemon --watch ./app/assets/stylesheets/ --ext scss,css --exec yarn build:css > ~/nodemon.log 2>&1 &
nohup: ignoring input
�[33m[nodemon] 3.1.7�[39m
�[33m[nodemon] to restart at any time, enter rs
�[39m
�[33m[nodemon] watching path(s): app/assets/stylesheets/**/*�[39m
�[33m[nodemon] watching extensions: scss,css�[39m
�[32m[nodemon] starting yarn build:css
�[39m
node:events:496
throw er; // Unhandled 'error' event
^
Error: EBADF: bad file descriptor, read
Emitted 'error' event on ReadStream instance at:
at emitErrorNT (node:internal/streams/destroy:170:8)
at errorOrDestroy (node:internal/streams/destroy:239:7)
at node:internal/fs/streams:272:9
at FSReqCallback.wrapper [as oncomplete] (node:fs:671:5) {
errno: -9,
code: 'EBADF',
syscall: 'read'
}
Running with --verbose flag the error is the same
And nodemon --dump return