You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys, how i can launch Parcel than launch another script after server launch?
Am trying here to make a tasks launcher with my scripts Parcel before and after launch my script for nwjs+ debugger , but not succeed.
Anybody have some suggestion code to share for try the best approach ?
i can execute with success in terminal npm start
then when is ready npm run start-nw
then F12 to attach vscode to nwjs app
HotReload also work fine here !
But i want be able to run this with only one key (f12) to run Parcel , nwjs, than attache to Vscode !?
Anybody have similar example, Nwjs or Elelectron.
The issue is if i use "preLaunchTask": "npm: start" the process never end, because parcel start a server and never tell "hey am ready" to process.
I think i need a great example to understand.
ps: sorry for poor English :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey guys, how i can launch Parcel than launch another script after server launch?
Am trying here to make a tasks launcher with my scripts Parcel before and after launch my script for nwjs+ debugger , but not succeed.
Anybody have some suggestion code to share for try the best approach ?
This is my script in package.json
this is my launch.json for now
i can execute with success in terminal
npm start
then when is ready
npm run start-nw
then F12 to attach vscode to nwjs app
HotReload also work fine here !
But i want be able to run this with only one key (f12) to run Parcel , nwjs, than attache to Vscode !?
Anybody have similar example, Nwjs or Elelectron.
The issue is if i use
"preLaunchTask": "npm: start"
the process never end, because parcel start a server and never tell "hey am ready" to process.I think i need a great example to understand.
ps: sorry for poor English :)
Beta Was this translation helpful? Give feedback.
All reactions