Based on ink
- run
nr dev
in 1 terminal (it will run in watch-mode) - run
nr run
in another terminal (it will run in watch-mode)
The nr dev
command uses the NodeJS --watch
flag, so you will have to ctrl+c
twice to stop it.
The first time kills the CLI app, the second kills node
, that is watching.
I have noticed that it 'hangs'.. when it's detected a change and restarted at least once.
I need to figure something out. Until I have.. a quick killall node
seems to stop it.